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
public class CommandSelect extends AbstractCommandSelectPart
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCASE_APPLIED -
Constructor Summary
Constructors Constructor Description CommandSelect() -
Method Summary
Modifier and Type Method Description voidexecute(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
public static final java.lang.String CASE_APPLIED- See Also:
- Constant Field Values
-
-
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
-