Uses of Class
com.blackrook.rookscript.lang.ScriptCommand
Package
Description
Contains scripting components for the scripting language.
Contains VM specific structures.
-
Uses of ScriptCommand in com.blackrook.rookscript
Modifier and TypeMethodDescriptionScript.getCommand
(int index) Gets the command at a specific index in the script.ScriptInstance.getCurrentCommand()
Gets the current command.Modifier and TypeMethodDescriptionvoid
Script.addCommand
(ScriptCommand command) Adds a command directive to the script.void
Script.setCommands
(ScriptCommand[] commands) Sets the commands to use in the script, replacing them entirely. -
Uses of ScriptCommand in com.blackrook.rookscript.lang
Modifier and TypeMethodDescriptionstatic ScriptCommand
ScriptCommand.create
(ScriptCommandType type) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, boolean operand) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, double operand) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, long operand) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, Integer operand1, boolean operand2) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, Long operand1, boolean operand2) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, Object operand) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, String operand) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, String operand1, boolean operand2) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, String operand1, double operand2) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, String operand1, long operand2) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, String operand1, Object operand2) Creates a new script directive.static ScriptCommand
ScriptCommand.create
(ScriptCommandType type, String operand1, String operand2) Creates a new script directive.