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