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 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "strictfp" )*
11: * f1 -> ResultType()
12: * f2 -> <IDENTIFIER>
13: * f3 -> "("
14: * </pre>
15: */
16: public class MethodDeclarationLookahead implements Node {
17: public NodeListOptional f0;
18: public ResultType f1;
19: public NodeToken f2;
20: public NodeToken f3;
21:
22: public MethodDeclarationLookahead(NodeListOptional n0,
23: ResultType n1, NodeToken n2, NodeToken n3) {
24: f0 = n0;
25: f1 = n1;
26: f2 = n2;
27: f3 = n3;
28: }
29:
30: public MethodDeclarationLookahead(NodeListOptional n0,
31: ResultType n1, NodeToken n2) {
32: f0 = n0;
33: f1 = n1;
34: f2 = n2;
35: f3 = new NodeToken("(");
36: }
37:
38: public void accept(xtc.lang.javacc.visitor.Visitor v) {
39: v.visit(this );
40: }
41:
42: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
43: Object argu) {
44: return v.visit(this, argu);
45: }
46: }
|