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 -> LabeledStatement()
11: * | Block()
12: * | EmptyStatement()
13: * | StatementExpression() ";"
14: * | SwitchStatement()
15: * | IfStatement()
16: * | WhileStatement()
17: * | DoStatement()
18: * | ForStatement()
19: * | BreakStatement()
20: * | ContinueStatement()
21: * | ReturnStatement()
22: * | ThrowStatement()
23: * | SynchronizedStatement()
24: * | TryStatement()
25: * | AssertStatement()
26: * </pre>
27: */
28: public class Statement implements Node {
29: public NodeChoice f0;
30:
31: public Statement(NodeChoice n0) {
32: f0 = n0;
33: }
34:
35: public void accept(xtc.lang.javacc.visitor.Visitor v) {
36: v.visit(this );
37: }
38:
39: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
40: Object argu) {
41: return v.visit(this, argu);
42: }
43: }
|