Class CommandWhile
- java.lang.Object
-
- com.scriptbasic.executors.commands.AbstractCommand
-
- com.scriptbasic.executors.commands.CommandWhile
-
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
public class CommandWhile extends AbstractCommand
-
-
Constructor Summary
Constructors Constructor Description CommandWhile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Interpreter interpreter)ExpressiongetCondition()CommandgetWendNode()voidsetCondition(Expression condition)voidsetWendNode(Command wendNode)-
Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
-
-
-
Method Detail
-
getWendNode
public Command getWendNode()
-
setWendNode
public void setWendNode(Command wendNode)
-
getCondition
public Expression getCondition()
-
setCondition
public void setCondition(Expression condition)
-
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
-
-