blob: 9f8b0ae4889370ae0801834e9382027799f2ac02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
//
// Generated by JTB 1.3.2
//
package minijava.syntaxtree;
/**
* Grammar production:
* f0 -> MainClass()
* f1 -> ( TypeDeclaration() )*
* f2 -> <EOF>
*/
public class Goal implements Node {
public MainClass f0;
public NodeListOptional f1;
public NodeToken f2;
public Goal(MainClass n0, NodeListOptional n1, NodeToken n2) {
f0 = n0;
f1 = n1;
f2 = n2;
}
public Goal(MainClass n0, NodeListOptional n1) {
f0 = n0;
f1 = n1;
f2 = new NodeToken("");
}
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);
}
}
|