Expression.java

  1. //
  2. // Generated by JTB 1.3.2
  3. //

  4. package net.metanotion.simpletemplate.parser.syntaxtree;

  5. /**
  6.  * Grammar production:
  7.  * <PRE>
  8.  * f0 -> Apply()
  9.  *       | JSObj()
  10.  *       | JSArr()
  11.  *       | Tuple()
  12.  *       | Lambda()
  13.  *       | Let()
  14.  *       | Literal()
  15.  *       | Lift()
  16.  * </PRE>
  17.  */
  18. public class Expression implements Node {
  19.    public NodeChoice f0;

  20.    public Expression(NodeChoice n0) {
  21.       f0 = n0;
  22.    }

  23.    public void accept(net.metanotion.simpletemplate.parser.visitor.Visitor v) {
  24.       v.visit(this);
  25.    }
  26.    public <R,A> R accept(net.metanotion.simpletemplate.parser.visitor.GJVisitor<R,A> v, A argu) {
  27.       return v.visit(this,argu);
  28.    }
  29.    public <R> R accept(net.metanotion.simpletemplate.parser.visitor.GJNoArguVisitor<R> v) {
  30.       return v.visit(this);
  31.    }
  32.    public <A> void accept(net.metanotion.simpletemplate.parser.visitor.GJVoidVisitor<A> v, A argu) {
  33.       v.visit(this,argu);
  34.    }
  35. }