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

Method evaluate

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

Evaluates some script against the current Binding and returns the result @param codeSource @throws CompilationFailedException

(GroovyCodeSource codeSource)

Source from the content-addressed store, hash-verified

549 * @throws CompilationFailedException
550 */
551 public Object evaluate(GroovyCodeSource codeSource) throws CompilationFailedException {
552 Script script = parse(codeSource);
553 return script.run();
554 }
555
556 /**
557 * Evaluates some script against the current Binding and returns the result

Callers 14

configureCompilerMethod · 0.95
bugMethod · 0.95
markupBugMethod · 0.95
testBaseScriptMethod · 0.95
evaluateMethod · 0.95
evaluateMethod · 0.95
processConfigScriptsMethod · 0.95
meMethod · 0.95

Calls 6

parseMethod · 0.95
runMethod · 0.95
generateScriptNameMethod · 0.95
removeClassMethod · 0.95
getSourceEncodingMethod · 0.80
getClassMethod · 0.80

Tested by 7

bugMethod · 0.76
markupBugMethod · 0.76
testBaseScriptMethod · 0.76
evaluateMethod · 0.76