Class CommandFor
java.lang.Object
com.scriptbasic.executors.commands.AbstractCommand
com.scriptbasic.executors.commands.CommandFor
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
public class CommandFor extends AbstractCommand
- Author:
- Peter Verhas date July 20, 2012
-
Constructor Summary
Constructors Constructor Description CommandFor() -
Method Summary
Modifier and Type Method Description voidexecute(Interpreter interpreter)LeftValuegetLoopVariable()voidsetLoopEndNode(CommandNext loopEndNode)voidsetLoopEndValue(Expression loopEndValue)voidsetLoopStartValue(Expression loopStartValue)voidsetLoopStepValue(Expression loopStepValue)voidsetLoopVariable(LeftValue loopVariable)Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
Constructor Details
-
CommandFor
public CommandFor()
-
-
Method Details
-
setLoopEndNode
-
getLoopVariable
-
setLoopVariable
-
setLoopStartValue
-
setLoopEndValue
-
setLoopStepValue
-
execute
- Specified by:
executein interfaceExecutor- Specified by:
executein classAbstractCommand- Parameters:
interpreter- parameter- Throws:
ScriptBasicException- in case there was an exception
-