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