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 -> ConditionalOrExpression()
11: * f1 -> [ "?" Expression() ":" ConditionalExpression() ]
12: * </pre>
13: */
14: public class ConditionalExpression implements Node {
15: public ConditionalOrExpression f0;
16: public NodeOptional f1;
17:
18: public ConditionalExpression(ConditionalOrExpression n0,
19: NodeOptional n1) {
20: f0 = n0;
21: f1 = n1;
22: }
23:
24: public void accept(xtc.lang.javacc.visitor.Visitor v) {
25: v.visit(this );
26: }
27:
28: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
29: Object argu) {
30: return v.visit(this, argu);
31: }
32: }
|