blob: 44cf56636b8a9290b50c26cf707a1bc359252920 (
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 -> "int"
* f1 -> "["
* f2 -> "]"
*/
public class ArrayType implements Node {
public NodeToken f0;
public NodeToken f1;
public NodeToken f2;
public ArrayType(NodeToken n0, NodeToken n1, NodeToken n2) {
f0 = n0;
f1 = n1;
f2 = n2;
}
public ArrayType() {
f0 = new NodeToken("int");
f1 = new NodeToken("[");
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);
}
}
|