Class CommandIf
- java.lang.Object
-
- com.scriptbasic.executors.commands.AbstractCommand
-
- com.scriptbasic.executors.commands.AbstractCommandIfElseKind
-
- com.scriptbasic.executors.commands.AbstractCommandIfKind
-
- com.scriptbasic.executors.commands.CommandIf
-
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
public class CommandIf extends AbstractCommandIfKind
-
-
Constructor Summary
Constructors Constructor Description CommandIf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Interpreter interpreter)-
Methods inherited from class com.scriptbasic.executors.commands.AbstractCommandIfKind
getCondition, setCondition, theConditionIsTrue
-
Methods inherited from class com.scriptbasic.executors.commands.AbstractCommandIfElseKind
doneUndone, getPrevious, setNext, setPrevious
-
Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
-
-
-
Method Detail
-
execute
public void execute(Interpreter interpreter) throws ScriptBasicException
- Specified by:
executein interfaceExecutor- Specified by:
executein classAbstractCommand- Parameters:
interpreter- parameter- Throws:
ScriptBasicException- in case there was an exception
-
-