summaryrefslogtreecommitdiff
path: root/syntaxtree/ClassExtendsDeclaration.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/ClassExtendsDeclaration.java
parentb01fe1e8e5541d6c11f905d7fbb949d747f29230 (diff)
Reorder generated files
Diffstat (limited to 'syntaxtree/ClassExtendsDeclaration.java')
-rw-r--r--syntaxtree/ClassExtendsDeclaration.java63
1 files changed, 63 insertions, 0 deletions
diff --git a/syntaxtree/ClassExtendsDeclaration.java b/syntaxtree/ClassExtendsDeclaration.java
new file mode 100644
index 0000000..d9b6dbe
--- /dev/null
+++ b/syntaxtree/ClassExtendsDeclaration.java
@@ -0,0 +1,63 @@
+//
+// Generated by JTB 1.3.2
+//
+
+package syntaxtree;
+
+/**
+ * Grammar production:
+ * f0 -> "class"
+ * f1 -> Identifier()
+ * f2 -> "extends"
+ * f3 -> Identifier()
+ * f4 -> "{"
+ * f5 -> ( VarDeclaration() )*
+ * f6 -> ( MethodDeclaration() )*
+ * f7 -> "}"
+ */
+public class ClassExtendsDeclaration implements Node {
+ public NodeToken f0;
+ public Identifier f1;
+ public NodeToken f2;
+ public Identifier f3;
+ public NodeToken f4;
+ public NodeListOptional f5;
+ public NodeListOptional f6;
+ public NodeToken f7;
+
+ public ClassExtendsDeclaration(NodeToken n0, Identifier n1, NodeToken n2, Identifier n3, NodeToken n4, NodeListOptional n5, NodeListOptional n6, NodeToken n7) {
+ f0 = n0;
+ f1 = n1;
+ f2 = n2;
+ f3 = n3;
+ f4 = n4;
+ f5 = n5;
+ f6 = n6;
+ f7 = n7;
+ }
+
+ public ClassExtendsDeclaration(Identifier n0, Identifier n1, NodeListOptional n2, NodeListOptional n3) {
+ f0 = new NodeToken("class");
+ f1 = n0;
+ f2 = new NodeToken("extends");
+ f3 = n1;
+ f4 = new NodeToken("{");
+ f5 = n2;
+ f6 = n3;
+ f7 = 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);
+ }
+}
+