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 -> <IDENTIFIER>
11: * f1 -> FormalParameters()
12: * f2 -> ( "[" "]" )*
13: * </pre>
14: */
15: public class MethodDeclarator implements Node {
16: public NodeToken f0;
17: public FormalParameters f1;
18: public NodeListOptional f2;
19:
20: public MethodDeclarator(NodeToken n0, FormalParameters n1,
21: NodeListOptional 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: }
|