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