public MyMultiplyNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
Exemple #2
0
 public MyAddNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
 public MyIsGreaterThanNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
Exemple #4
0
 public MyDivideNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
 protected MyBinaryOpNode(MyAbstractNode left, MyAbstractNode right)
 {
     Left = left;
     Right = right;
 }
 public MyAssignmentNode(MyVariableNode variableNode, MyAbstractNode valueNode)
 {
     VariableNode = variableNode;
     ValueNode = valueNode;
 }
 public MyIsLessThanNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
 public MyLogicalAndNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
Exemple #9
0
 public MyNegateNode(MyAbstractNode op)
 {
     Op = op;
 }
Exemple #10
0
 public MyIsEqualsNode(MyAbstractNode left, MyAbstractNode right)
     : base(left, right)
 {
 }
 public MyReturnStatement(MyAbstractNode returnExpression)
 {
     ReturnExpression = returnExpression;
 }
Exemple #12
0
 public MyIfStatement(MyAbstractNode condition, MyStatementListNode thenPart)
 {
     Condition = condition;
     ThenPart = thenPart;
     ElsePart = null;
 }