public void print(java.io.PrintStream out) { out.print("(increment"); for (Expression i : children) { out.print(" "); i.print(out); } out.print(")"); }
public void setOperands(Expression op, Expression ignore) { children = new Expression[] {op}; op.setParent(this); }
public void setOperands(Expression left, Expression right) { children[0] = left; children[1] = right; left.setParent(this); right.setParent(this); }