public class CommandFor extends AbstractCommand
Constructor and Description |
---|
CommandFor() |
Modifier and Type | Method and Description |
---|---|
void |
execute(ExtendedInterpreter interpreter) |
RightValue |
getLoopEnd() |
CommandNext |
getLoopEndNode() |
Expression |
getLoopEndValue() |
Expression |
getLoopStartValue() |
RightValue |
getLoopStep() |
Expression |
getLoopStepValue() |
LeftValue |
getLoopVariable() |
void |
setLoopEndNode(CommandNext loopEndNode) |
void |
setLoopEndValue(Expression loopEndValue) |
void |
setLoopStartValue(Expression loopStartValue) |
void |
setLoopStepValue(Expression loopStepValue) |
void |
setLoopVariable(LeftValue loopVariable) |
checkedExecute, getNextCommand, setNextCommand
public RightValue getLoopEnd()
public RightValue getLoopStep()
public CommandNext getLoopEndNode()
public void setLoopEndNode(CommandNext loopEndNode)
loopEndNode
- the loopEndNode to setpublic LeftValue getLoopVariable()
public void setLoopVariable(LeftValue loopVariable)
loopVariable
- the loopVariable to setpublic Expression getLoopStartValue()
public void setLoopStartValue(Expression loopStartValue)
loopStartValue
- the loopStartValue to setpublic Expression getLoopEndValue()
public void setLoopEndValue(Expression loopEndValue)
loopEndValue
- the loopEndValue to setpublic Expression getLoopStepValue()
public void setLoopStepValue(Expression loopStepValue)
loopStepValue
- the loopStepValue to setpublic void execute(ExtendedInterpreter interpreter) throws ExecutionException
execute
in interface Executor
execute
in class AbstractCommand
ExecutionException
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.