MCPcopy Create free account
hub / github.com/dynjs/dynjs / parse

Method parse

src/main/java/org/dynjs/runtime/Compiler.java:78–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 public ProgramTree parse() {
79 JavascriptParser parser = new JavascriptParser(compilationContext());
80 try {
81 return parser.parse(this.source, this.fileName, this.forceStrict);
82 } finally {
83 if (this.shouldClose) {
84 try {
85 this.source.close();
86 } catch (IOException e) {
87 throw new ParserException(e);
88 }
89 }
90 }
91 }
92
93 protected CompilationContext compilationContext() {
94 if (this.compilationContext == null) {

Callers 4

compileMethod · 0.95
coffee-script.jsFile · 0.45
extensionsSpec.jsFile · 0.45
showASTMethod · 0.45

Calls 2

compilationContextMethod · 0.95
parseMethod · 0.95

Tested by

no test coverage detected