01: //
02: // Generated by JTB 1.2.1
03: //
04:
05: package oscript.syntaxtree;
06:
07: /**
08: * Grammar production:
09: * <PRE>
10: * f0 -> VariableDeclaration()
11: * f1 -> ";"
12: * </PRE>
13: */
14: public class VariableDeclarationBlock implements Node {
15: public VariableDeclaration f0;
16: public NodeToken f1;
17:
18: public VariableDeclarationBlock(VariableDeclaration n0, NodeToken n1) {
19: f0 = n0;
20: f1 = n1;
21: }
22:
23: public VariableDeclarationBlock(VariableDeclaration n0) {
24: f0 = n0;
25: f1 = new NodeToken(";");
26: }
27:
28: public void accept(oscript.visitor.Visitor v) {
29: v.visit(this );
30: }
31:
32: public Object accept(oscript.visitor.ObjectVisitor v, Object argu) {
33: return v.visit(this, argu);
34: }
35: }
|