01: //
02: // Generated by JTB 1.2.1
03: //
04:
05: package oscript.syntaxtree;
06:
07: /**
08: * Grammar production:
09: * <PRE>
10: * f0 -> ScopeBlock()
11: * | VariableDeclarationBlock()
12: * | FunctionDeclaration()
13: * | TryStatement()
14: * | ForLoopStatement()
15: * | CollectionForLoopStatement()
16: * | WhileLoopStatement()
17: * | ConditionalStatement()
18: * | SynchronizedStatement()
19: * | ReturnStatement()
20: * | BreakStatement()
21: * | ContinueStatement()
22: * | ExpressionBlock()
23: * | ThrowBlock()
24: * | ImportBlock()
25: * | MixinBlock()
26: * | EvalBlock()
27: * </PRE>
28: */
29: public class EvaluationUnit implements Node {
30: public NodeChoice f0;
31:
32: public boolean isStatic = false;
33:
34: public EvaluationUnit(NodeChoice n0) {
35: f0 = n0;
36: }
37:
38: public void accept(oscript.visitor.Visitor v) {
39: v.visit(this );
40: }
41:
42: public Object accept(oscript.visitor.ObjectVisitor v, Object argu) {
43: return v.visit(this, argu);
44: }
45: }
|