Exemplo n.º 1
0
 /** Creates a ASTConstant whose value of applying a unary operator to its arguments. */
 public ASTConstant buildConstantNode(Operator op, Node child1)
     throws IllegalArgumentException, ParseException {
   return buildConstantNode(op.getPFMC(), new Node[] {child1});
 }
Exemplo n.º 2
0
 /** Creates a ASTConstant whose value of applying the operator to its arguments. */
 public ASTConstant buildConstantNode(Operator op, Node children[])
     throws IllegalArgumentException, ParseException {
   return buildConstantNode(op.getPFMC(), children);
 }