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