Expression.java
- //
- // Generated by JTB 1.3.2
- //
- package net.metanotion.simpletemplate.parser.syntaxtree;
- /**
- * Grammar production:
- * <PRE>
- * f0 -> Apply()
- * | JSObj()
- * | JSArr()
- * | Tuple()
- * | Lambda()
- * | Let()
- * | Literal()
- * | Lift()
- * </PRE>
- */
- public class Expression implements Node {
- public NodeChoice f0;
- public Expression(NodeChoice n0) {
- f0 = n0;
- }
- public void accept(net.metanotion.simpletemplate.parser.visitor.Visitor v) {
- v.visit(this);
- }
- public <R,A> R accept(net.metanotion.simpletemplate.parser.visitor.GJVisitor<R,A> v, A argu) {
- return v.visit(this,argu);
- }
- public <R> R accept(net.metanotion.simpletemplate.parser.visitor.GJNoArguVisitor<R> v) {
- return v.visit(this);
- }
- public <A> void accept(net.metanotion.simpletemplate.parser.visitor.GJVoidVisitor<A> v, A argu) {
- v.visit(this,argu);
- }
- }