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 Stringsourcepublic final CompiledScriptscript
-
Method Summary
Modifier and Type Method Description StringgetSource()CompiledScriptgetScript()static ScriptWithSourcecompile(@NonNull() Compilable compilable, @Nullable() String source)Objecteval()Objecteval(Bindings bindings)Objecteval(ScriptContext context)ScriptEnginegetEngine()-
-
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()
-
-
-
-