diff options
Diffstat (limited to 'syntaxtree/FormalParameter.java')
-rw-r--r-- | syntaxtree/FormalParameter.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/syntaxtree/FormalParameter.java b/syntaxtree/FormalParameter.java new file mode 100644 index 0000000..51637e9 --- /dev/null +++ b/syntaxtree/FormalParameter.java @@ -0,0 +1,34 @@ +// +// Generated by JTB 1.3.2 +// + +package syntaxtree; + +/** + * Grammar production: + * f0 -> Type() + * f1 -> Identifier() + */ +public class FormalParameter implements Node { + public Type f0; + public Identifier f1; + + public FormalParameter(Type n0, Identifier n1) { + f0 = n0; + f1 = n1; + } + + 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); + } +} + |