Used to represent compiled Groovy scripts. Such scripts may be executed repeatedly
by Groovy's ScriptEngine
using the eval
method without reparsing overheads.
Constructor and description |
---|
GroovyCompiledScript
(GroovyScriptEngineImpl engine, Class<?> clazz) |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
eval(ScriptContext context) |
|
ScriptEngine |
getEngine() |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.