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 -> [ "final" ]
11: * f1 -> Type()
12: * f2 -> VariableDeclarator()
13: * f3 -> ( "," VariableDeclarator() )*
14: * </pre>
15: */
16: public class LocalVariableDeclaration implements Node {
17: public NodeOptional f0;
18: public Type f1;
19: public VariableDeclarator f2;
20: public NodeListOptional f3;
21:
22: public LocalVariableDeclaration(NodeOptional n0, Type n1,
23: VariableDeclarator n2, NodeListOptional n3) {
24: f0 = n0;
25: f1 = n1;
26: f2 = n2;
27: f3 = n3;
28: }
29:
30: public void accept(xtc.lang.javacc.visitor.Visitor v) {
31: v.visit(this );
32: }
33:
34: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
35: Object argu) {
36: return v.visit(this, argu);
37: }
38: }
|