public class PreCompiled extends Object implements Evaluatable
Evaluatable
for a CompiledScript
.Constructor and Description |
---|
PreCompiled(ScriptEngine engine,
CompiledScript compiled) |
public PreCompiled(ScriptEngine engine, CompiledScript compiled)
public Object eval() throws ScriptException
Evaluatable
eval
in interface Evaluatable
ScriptException
public Object get(String key)
Evaluatable
get
in interface Evaluatable
key
- The scripts variable name.public void put(String key, Object value)
Evaluatable
put
in interface Evaluatable