MCPcopy Index your code
hub / github.com/apache/groovy / parse

Method parse

src/main/java/groovy/lang/GroovyShell.java:644–646  ·  view source on GitHub ↗

Parses the given script and returns it ready to be run @param reader the stream reading the script @param fileName is the logical file name of the script (which is used to create the class name of the script) @return the parsed script which is ready to be run via Script#run()

(final Reader reader, final String fileName)

Source from the content-addressed store, hash-verified

642 * @return the parsed script which is ready to be run via {@link Script#run()}
643 */
644 public Script parse(final Reader reader, final String fileName) throws CompilationFailedException {
645 return parse(reader, fileName, context);
646 }
647
648 /**
649 * Parses the given script and returns it ready to be run

Callers 3

evaluateMethod · 0.95
processFilesMethod · 0.95
setupMethod · 0.95

Calls 4

createScriptMethod · 0.95
parseClassMethod · 0.95
generateScriptNameMethod · 0.95
getSourceEncodingMethod · 0.80

Tested by

no test coverage detected