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 -> "interface"
11: * f1 -> <IDENTIFIER>
12: * f2 -> [ "extends" NameList() ]
13: * f3 -> "{"
14: * f4 -> ( InterfaceMemberDeclaration() )*
15: * f5 -> "}"
16: * </pre>
17: */
18: public class UnmodifiedInterfaceDeclaration implements Node {
19: public NodeToken f0;
20: public NodeToken f1;
21: public NodeOptional f2;
22: public NodeToken f3;
23: public NodeListOptional f4;
24: public NodeToken f5;
25:
26: public UnmodifiedInterfaceDeclaration(NodeToken n0, NodeToken n1,
27: NodeOptional n2, NodeToken n3, NodeListOptional n4,
28: NodeToken n5) {
29: f0 = n0;
30: f1 = n1;
31: f2 = n2;
32: f3 = n3;
33: f4 = n4;
34: f5 = n5;
35: }
36:
37: public UnmodifiedInterfaceDeclaration(NodeToken n0,
38: NodeOptional n1, NodeListOptional n2) {
39: f0 = new NodeToken("interface");
40: f1 = n0;
41: f2 = n1;
42: f3 = new NodeToken("{");
43: f4 = n2;
44: f5 = new NodeToken("}");
45: }
46:
47: public void accept(xtc.lang.javacc.visitor.Visitor v) {
48: v.visit(this );
49: }
50:
51: public Object accept(xtc.lang.javacc.visitor.ObjectVisitor v,
52: Object argu) {
53: return v.visit(this, argu);
54: }
55: }
|