Exemple #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});
 }
Exemple #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);
 }