Exemple #1
0
 public AND(BoolAST A, BoolAST B)
 {
     this.type        = TYPE.AND;
     this.children    = new BoolAST[2];
     this.children[0] = A;
     this.children[1] = B;
 }
Exemple #2
0
 public OR(BoolAST A, BoolAST B)
 {
     this.type        = TYPE.OR;
     this.children    = new BoolAST[2];
     this.children[0] = A;
     this.children[1] = B;
 }
Exemple #3
0
 public NOT(BoolAST term)
 {
     this.type        = TYPE.NOT;
     this.children    = new BoolAST[1];
     this.children[0] = term;
 }