Class CommandSelect
java.lang.Object
com.scriptbasic.executors.commands.AbstractCommand
com.scriptbasic.executors.commands.AbstractCommandSelectPart
com.scriptbasic.executors.commands.CommandSelect
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Interpreter interpreter) voidregisterCase(CommandCase node) voidsetEndSelectNode(CommandEndSelect commandEndSelect) Set command for End Select statement Method is called by parser at the end of select statement.voidsetExpression(Expression expression) Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
Field Details
-
CASE_APPLIED
- See Also:
-
-
Constructor Details
-
CommandSelect
public CommandSelect()
-
-
Method Details
-
setExpression
-
execute
- Specified by:
executein interfaceExecutor- Specified by:
executein classAbstractCommand- Parameters:
interpreter- parameter- Throws:
ScriptBasicException- in case there was an exception
-
setEndSelectNode
Set command for End Select statement Method is called by parser at the end of select statement.- Parameters:
commandEndSelect- command
-
registerCase
-