Esempio n. 1
0
 public UnaryExpression(UnaryOperator unaryOperator, EvaluableExpression argument, int startIndex, int endIndex) : base("Unary", startIndex, endIndex)
 {
     Argument      = argument;
     UnaryOperator = unaryOperator;
 }
Esempio n. 2
0
 public BinaryExpression(BinaryOperator binaryOperator, EvaluableExpression left, EvaluableExpression right, int startIndex, int endIndex) : base("Binary", startIndex, endIndex)
 {
     BinaryOperator = binaryOperator;
     Left           = left;
     Right          = right;
 }