/bundles/plugins-trunk/XML/sidekick/ecmascript/parser/ASTProgram.java

# · Java · 37 lines · 15 code · 9 blank · 13 comment · 0 complexity · 8983d4e81bf1b56134851c71433f5d1f MD5 · raw file

  1. /* Generated By:JJTree: Do not edit this line. ASTProgram.java */
  2. package sidekick.ecmascript.parser;
  3. //import org.dojo.jsl.top.SourceFile;
  4. import sidekick.ecmascript.parser.EcmaScript;
  5. import sidekick.ecmascript.parser.EcmaScriptVisitor;
  6. public class ASTProgram extends SimpleNode implements Scope {
  7. //protected SourceFile sourceFile;
  8. public ASTProgram(int id) {
  9. super(id);
  10. }
  11. public ASTProgram(EcmaScript p, int id) {
  12. super(p, id);
  13. }
  14. /** Accept the visitor. * */
  15. @Override
  16. public Object jjtAccept(EcmaScriptVisitor visitor, Object data) {
  17. return visitor.visit(this, data);
  18. }
  19. /*
  20. public void setSourceFile(SourceFile sourceFile) {
  21. this.sourceFile = sourceFile;
  22. }
  23. public SourceFile getSourceFile() {
  24. return sourceFile;
  25. }
  26. */
  27. }