summaryrefslogtreecommitdiff
path: root/src/spiglet/syntaxtree/HStoreStmt.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/spiglet/syntaxtree/HStoreStmt.java')
-rw-r--r--src/spiglet/syntaxtree/HStoreStmt.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/spiglet/syntaxtree/HStoreStmt.java b/src/spiglet/syntaxtree/HStoreStmt.java
new file mode 100644
index 0000000..e4ac434
--- /dev/null
+++ b/src/spiglet/syntaxtree/HStoreStmt.java
@@ -0,0 +1,47 @@
+//
+// Generated by JTB 1.3.2
+//
+
+package spiglet.syntaxtree;
+
+/**
+ * Grammar production:
+ * f0 -> "HSTORE"
+ * f1 -> Temp()
+ * f2 -> IntegerLiteral()
+ * f3 -> Temp()
+ */
+public class HStoreStmt implements Node {
+ public NodeToken f0;
+ public Temp f1;
+ public IntegerLiteral f2;
+ public Temp f3;
+
+ public HStoreStmt(NodeToken n0, Temp n1, IntegerLiteral n2, Temp n3) {
+ f0 = n0;
+ f1 = n1;
+ f2 = n2;
+ f3 = n3;
+ }
+
+ public HStoreStmt(Temp n0, IntegerLiteral n1, Temp n2) {
+ f0 = new NodeToken("HSTORE");
+ f1 = n0;
+ f2 = n1;
+ f3 = n2;
+ }
+
+ public void accept(spiglet.visitor.Visitor v) {
+ v.visit(this);
+ }
+ public <R,A> R accept(spiglet.visitor.GJVisitor<R,A> v, A argu) {
+ return v.visit(this,argu);
+ }
+ public <R> R accept(spiglet.visitor.GJNoArguVisitor<R> v) {
+ return v.visit(this);
+ }
+ public <A> void accept(spiglet.visitor.GJVoidVisitor<A> v, A argu) {
+ v.visit(this,argu);
+ }
+}
+