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 -> "boolean"
11: * | "char"
12: * | "byte"
13: * | "short"
14: * | "int"
15: * | "long"
16: * | "float"
17: * | "double"
18: * </pre>
19: */
20: public class PrimitiveType implements Node {
21: public NodeChoice f0;
22:
23: public PrimitiveType(NodeChoice n0) {
24: f0 = n0;
25: }
26:
27: public void accept(xtc.lang.javacc.visitor.Visitor v) {
28: v.visit(this );
29: }
30:
31: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
32: Object argu) {
33: return v.visit(this, argu);
34: }
35: }
|