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