01: //
02: // Generated by JTB 1.2.1
03: //
04:
05: package oscript.syntaxtree;
06:
07: /**
08: * Grammar production:
09: * <PRE>
10: * f0 -> "synchronized"
11: * f1 -> "("
12: * f2 -> Expression()
13: * f3 -> ")"
14: * f4 -> EvaluationUnit()
15: * </PRE>
16: */
17: public class SynchronizedStatement implements Node {
18: public NodeToken f0;
19: public NodeToken f1;
20: public Expression f2;
21: public NodeToken f3;
22: public EvaluationUnit f4;
23:
24: public SynchronizedStatement(NodeToken n0, NodeToken n1,
25: Expression n2, NodeToken n3, EvaluationUnit n4) {
26: f0 = n0;
27: f1 = n1;
28: f2 = n2;
29: f3 = n3;
30: f4 = n4;
31: }
32:
33: public SynchronizedStatement(Expression n0, EvaluationUnit n1) {
34: f0 = new NodeToken("synchronized");
35: f1 = new NodeToken("(");
36: f2 = n0;
37: f3 = new NodeToken(")");
38: f4 = n1;
39: }
40:
41: public void accept(oscript.visitor.Visitor v) {
42: v.visit(this );
43: }
44:
45: public Object accept(oscript.visitor.ObjectVisitor v, Object argu) {
46: return v.visit(this, argu);
47: }
48: }
|