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