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 -> [ "final" ]
11: * f1 -> Type()
12: * f2 -> VariableDeclaratorId()
13: * </pre>
14: */
15: public class FormalParameter implements Node {
16: public NodeOptional f0;
17: public Type f1;
18: public VariableDeclaratorId f2;
19:
20: public FormalParameter(NodeOptional n0, Type n1,
21: VariableDeclaratorId n2) {
22: f0 = n0;
23: f1 = n1;
24: f2 = n2;
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: }
|