diff options
Diffstat (limited to 'syntaxtree/BooleanType.java')
-rw-r--r-- | syntaxtree/BooleanType.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/syntaxtree/BooleanType.java b/syntaxtree/BooleanType.java new file mode 100644 index 0000000..a606164 --- /dev/null +++ b/syntaxtree/BooleanType.java @@ -0,0 +1,35 @@ +// +// Generated by JTB 1.3.2 +// + +package syntaxtree; + +/** + * Grammar production: + * f0 -> "boolean" + */ +public class BooleanType implements Node { + public NodeToken f0; + + public BooleanType(NodeToken n0) { + f0 = n0; + } + + public BooleanType() { + f0 = new NodeToken("boolean"); + } + + public void accept(visitor.Visitor v) { + v.visit(this); + } + public <R,A> R accept(visitor.GJVisitor<R,A> v, A argu) { + return v.visit(this,argu); + } + public <R> R accept(visitor.GJNoArguVisitor<R> v) { + return v.visit(this); + } + public <A> void accept(visitor.GJVoidVisitor<A> v, A argu) { + v.visit(this,argu); + } +} + |