Uses of Class
com.blackrook.rookscript.ScriptEnvironment
Package
Description
Contains scripting components for the scripting language.
-
Uses of ScriptEnvironment in com.blackrook.rookscript
Modifier and TypeMethodDescriptionstatic ScriptEnvironment
ScriptEnvironment.create()
Builds an environment link connected to nothing.static ScriptEnvironment
ScriptEnvironment.create
(PrintStream standardOut, PrintStream standardErr, InputStream standardIn) Builds an environment link for the standard I/O streams.static ScriptEnvironment
Builds an environment link for just the host interface object.static ScriptEnvironment
ScriptEnvironment.create
(Object hostInterface, PrintStream standardOut, PrintStream standardErr, InputStream standardIn) Builds an environment link connected to a host and standard streams.static ScriptEnvironment
ScriptEnvironment.createStandardEnvironment()
Builds an environment link for the standard I/O streams.static ScriptEnvironment
ScriptEnvironment.createStandardEnvironment
(Object hostInterface) Builds an environment link for the standard I/O streams and the host interface object.ScriptInstance.getEnvironment()
Returns this script's script environment.Modifier and TypeMethodDescriptionScriptInstanceFactory.create
(ScriptEnvironment environment) Creates a new instance.ScriptInstanceBuilder.withEnvironment
(ScriptEnvironment environment) Sets the script environment for this script.ModifierConstructorDescriptionScriptInstance
(Script script, ScriptInstanceStack scriptInstanceStack, ScriptEnvironment environment) Creates a new script instance, no wait handler, default runaway limit.ScriptInstance
(Script script, ScriptInstanceStack scriptInstanceStack, ScriptEnvironment environment, int runawayLimit) Creates a new script instance, no wait handler.ScriptInstance
(Script script, ScriptInstanceStack scriptInstanceStack, ScriptWaitHandler waitHandler, ScriptEnvironment environment, int runawayLimit) Creates a new script instance.ScriptInstanceFactory
(Script script, int activationDepth, int stackDepth, ScriptEnvironment environment) Creates a new instance factory.ScriptInstanceFactory
(Script script, int activationDepth, int stackDepth, ScriptEnvironment environment, int runawayLimit) Creates a new instance factory.ScriptInstanceFactory
(Script script, int activationDepth, int stackDepth, ScriptWaitHandler waitHandler, ScriptEnvironment environment) Creates a new instance factory.ScriptInstanceFactory
(Script script, int activationDepth, int stackDepth, ScriptWaitHandler waitHandler, ScriptEnvironment environment, int runawayLimit) Creates a new instance factory.ScriptInstanceFactory
(Script script, ScriptEnvironment environment) Creates a new instance factory, default depths.