summaryrefslogtreecommitdiff
path: root/syntaxtree/ArrayAssignmentStatement.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-03-27 23:20:35 -0600
committerbd-912 <bdunahu@colostate.edu>2024-03-27 23:20:35 -0600
commit835e614e1e2531db3dc7dbe027de122a9fa0b78f (patch)
treec850ac64341cd8ceb56de23f71219c89b7bc3317 /syntaxtree/ArrayAssignmentStatement.java
parentb01fe1e8e5541d6c11f905d7fbb949d747f29230 (diff)
Reorder generated files
Diffstat (limited to 'syntaxtree/ArrayAssignmentStatement.java')
-rw-r--r--syntaxtree/ArrayAssignmentStatement.java59
1 files changed, 59 insertions, 0 deletions
diff --git a/syntaxtree/ArrayAssignmentStatement.java b/syntaxtree/ArrayAssignmentStatement.java
new file mode 100644
index 0000000..2878980
--- /dev/null
+++ b/syntaxtree/ArrayAssignmentStatement.java
@@ -0,0 +1,59 @@
+//
+// Generated by JTB 1.3.2
+//
+
+package syntaxtree;
+
+/**
+ * Grammar production:
+ * f0 -> Identifier()
+ * f1 -> "["
+ * f2 -> Expression()
+ * f3 -> "]"
+ * f4 -> "="
+ * f5 -> Expression()
+ * f6 -> ";"
+ */
+public class ArrayAssignmentStatement implements Node {
+ public Identifier f0;
+ public NodeToken f1;
+ public Expression f2;
+ public NodeToken f3;
+ public NodeToken f4;
+ public Expression f5;
+ public NodeToken f6;
+
+ public ArrayAssignmentStatement(Identifier n0, NodeToken n1, Expression n2, NodeToken n3, NodeToken n4, Expression n5, NodeToken n6) {
+ f0 = n0;
+ f1 = n1;
+ f2 = n2;
+ f3 = n3;
+ f4 = n4;
+ f5 = n5;
+ f6 = n6;
+ }
+
+ public ArrayAssignmentStatement(Identifier n0, Expression n1, Expression n2) {
+ f0 = n0;
+ f1 = new NodeToken("[");
+ f2 = n1;
+ f3 = new NodeToken("]");
+ f4 = new NodeToken("=");
+ f5 = n2;
+ f6 = new NodeToken(";");
+ }
+
+ 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);
+ }
+}
+