예제 #1
0
 public static Expr nodeToExpr(Node n) {
   if (n.isVariable()) return new ExprVar(n);
   return NodeValue.makeNode(n);
 }
예제 #2
0
 public static NodeValue parseNodeValue(String s) {
   Node n = NodeFactoryExtra.parseNode(s);
   NodeValue nv = NodeValue.makeNode(n);
   return nv;
 }