Exemple #1
0
 public void setOperands(Expression op, Expression ignore) {
   children = new Expression[] {op};
   op.setParent(this);
 }
Exemple #2
0
 public void setOperands(Expression left, Expression right) {
   children[0] = left;
   children[1] = right;
   left.setParent(this);
   right.setParent(this);
 }