Package pers.neige.neigeitems.action
Class ScriptWithSource
-
- All Implemented Interfaces:
public class ScriptWithSource extends CompiledScript
-
-
Field Summary
Fields Modifier and Type Field Description public final String
source
public final CompiledScript
script
-
Method Summary
Modifier and Type Method Description String
getSource()
CompiledScript
getScript()
static ScriptWithSource
compile(@NonNull() Compilable compilable, @Nullable() String source)
Object
eval()
Object
eval(Bindings bindings)
Object
eval(ScriptContext context)
ScriptEngine
getEngine()
-
-
Method Detail
-
getScript
@NonNull() CompiledScript getScript()
-
compile
@Nullable() static ScriptWithSource compile(@NonNull() Compilable compilable, @Nullable() String source)
-
eval
Object eval(ScriptContext context)
-
getEngine
ScriptEngine getEngine()
-
-
-
-