public if_(string input, if_ params_) : base(input, params_) { if (input.Length < 5) { throw new Exception(); } output = null; }
public if_(Params_ ask, Params_ true_, Params_ false_, if_ parrent) { this.ask = ask; ask.parrent = this; this.true_ = true_; true_.parrent = this; this.false_ = false_; false_.parrent = this; this.parrent = parrent; output = "(" + ask.Value + ")?(" + true_.Value + "):(" + false_.Value + ")"; }
public Value_(string input, if_ params_) : base(input, params_) { if (input.Length == 1 && (input[0] == '0' || input[0] == '1' || (input[0] >= 'A' && input[0] <= 'Z') || (input[0] >= 'a' && input[0] <= 'z'))) { ; } else { throw new Exception("Недопустимый аргумент"); } }
public override Params_ Clone(if_ parrent) { return(new Value_(input, parrent)); }
public Params_(string input, if_ params_) { this.input = input; parrent = params_; }