Beispiel #1
0
 public directiveIFELSE(BoolNode exp, DirectiveNode directiveIF, DirectiveNode directiveELSE)
 {
     createSlots();
     this.successors.setSuccessor(exp, 0);
     this.successors.setSuccessor(directiveIF, 1);
     this.successors.setSuccessor(directiveELSE, 2);
 }
Beispiel #2
0
 public BoolXOROperator(BoolNode first, BoolNode second)
     : base(first, second)
 {
 }
Beispiel #3
0
 public BoolLogicBinaryOperator(BoolNode first, BoolNode second)
 {
     setSuccessor(first, 0);
     setSuccessor(second, 1);
 }
Beispiel #4
0
 public BoolLogicNotOperator(BoolNode exp)
     : base(exp)
 {
 }
Beispiel #5
0
 public BoolUnaryLogicOperator(BoolNode exp)
 {
     createSlots();
     this.setSuccessor(exp, 0);
 }
 public BoolToNumber(BoolNode node)
 {
     setSuccessor(node, 0);
 }
Beispiel #7
0
 public directiveWHILE(BoolNode exp, DirectiveNode dir)
 {
     createSlots();
     successors.setSuccessor(exp, 0);
     successors.setSuccessor(dir, 1);
 }
Beispiel #8
0
 public directiveIF(BoolNode exp, DirectiveNode dir)
 {
     createSlots();
     this.successors.setSuccessor(exp, 0);
     this.successors.setSuccessor(dir, 1);
 }