01: //
02: // Generated by JTB 1.2.2
03: //
04:
05: package xtc.lang.javacc.syntaxtree;
06:
07: /**
08: * Grammar production.
09: * <pre>
10: * f0 -> "{"
11: * f1 -> ( ClassBodyDeclaration() )*
12: * f2 -> "}"
13: * </pre>
14: */
15: public class ClassBody implements Node {
16: public NodeToken f0;
17: public NodeListOptional f1;
18: public NodeToken f2;
19:
20: public ClassBody(NodeToken n0, NodeListOptional n1, NodeToken n2) {
21: f0 = n0;
22: f1 = n1;
23: f2 = n2;
24: }
25:
26: public ClassBody(NodeListOptional n0) {
27: f0 = new NodeToken("{");
28: f1 = n0;
29: f2 = new NodeToken("}");
30: }
31:
32: public void accept(xtc.lang.javacc.visitor.Visitor v) {
33: v.visit(this );
34: }
35:
36: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
37: Object argu) {
38: return v.visit(this, argu);
39: }
40: }
|