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 -> <INTEGER_LITERAL>
11: * | <FLOATING_POINT_LITERAL>
12: * | <CHARACTER_LITERAL>
13: * | <STRING_LITERAL>
14: * | BooleanLiteral()
15: * | NullLiteral()
16: * </pre>
17: */
18: public class Literal implements Node {
19: public NodeChoice f0;
20:
21: public Literal(NodeChoice n0) {
22: f0 = n0;
23: }
24:
25: public void accept(xtc.lang.javacc.visitor.Visitor v) {
26: v.visit(this );
27: }
28:
29: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
30: Object argu) {
31: return v.visit(this, argu);
32: }
33: }
|