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 -> Initializer()
11: * | NestedClassDeclaration()
12: * | NestedInterfaceDeclaration()
13: * | ConstructorDeclaration()
14: * | MethodDeclaration()
15: * | FieldDeclaration()
16: * | ";"
17: * </pre>
18: */
19: public class ClassBodyDeclaration implements Node {
20: public NodeChoice f0;
21:
22: public ClassBodyDeclaration(NodeChoice n0) {
23: f0 = n0;
24: }
25:
26: public void accept(xtc.lang.javacc.visitor.Visitor v) {
27: v.visit(this );
28: }
29:
30: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
31: Object argu) {
32: return v.visit(this, argu);
33: }
34: }
|