01: //
02: // Generated by JTB 1.2.1
03: //
04:
05: package oscript.syntaxtree;
06:
07: /**
08: * Grammar production:
09: * <PRE>
10: * f0 -> ( <UNIX_SELF_EXECUTABLE_COMMENT> )?
11: * f1 -> Program(false)
12: * f2 -> <EOF>
13: * </PRE>
14: */
15: public class ProgramFile implements Node {
16: public NodeOptional f0;
17: public Program f1;
18: public NodeToken f2;
19:
20: public ProgramFile(NodeOptional n0, Program n1, NodeToken n2) {
21: f0 = n0;
22: f1 = n1;
23: f2 = n2;
24: }
25:
26: public ProgramFile(NodeOptional n0, Program n1) {
27: f0 = n0;
28: f1 = n1;
29: f2 = new NodeToken("");
30: }
31:
32: public void accept(oscript.visitor.Visitor v) {
33: v.visit(this );
34: }
35:
36: public Object accept(oscript.visitor.ObjectVisitor v, Object argu) {
37: return v.visit(this , argu);
38: }
39:
40: public oscript.NodeEvaluator nodeEvaluator;
41: }
|