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