public abstract class AbstractCommandIfElseKind extends AbstractCommand
Constructor and Description |
---|
AbstractCommandIfElseKind() |
Modifier and Type | Method and Description |
---|---|
protected static Boolean |
conditionWasNotDoneYet(ExtendedInterpreter interpreter) |
protected static void |
doneUndone(ExtendedInterpreter interpreter) |
AbstractCommandIfElseKind |
getNext() |
AbstractCommandIfElseKind |
getPrevious() |
protected static void |
indicateConditionalJump(ExtendedInterpreter interpreter)
Indicate that the execution just executed a jump after the IF statement
or after the ELSEIF statement.
|
protected static void |
indicateConditionDone(ExtendedInterpreter interpreter)
Indicate that one of the conditions in the IF/ELSEIF/.../ELSE/ENDIF was
already true and the ELSEIF should not be executed but jump even if the
condition is true and the control got there jumping.
|
protected static Boolean |
itWasConditionalJump(ExtendedInterpreter interpreter) |
protected static void |
jumpDone(ExtendedInterpreter interpreter) |
void |
setNext(AbstractCommandIfElseKind next) |
void |
setPrevious(AbstractCommandIfElseKind previous) |
checkedExecute, execute, getNextCommand, setNextCommand
public AbstractCommandIfElseKind getPrevious()
public void setPrevious(AbstractCommandIfElseKind previous)
previous
- the previous to setpublic AbstractCommandIfElseKind getNext()
public void setNext(AbstractCommandIfElseKind next)
next
- the next to setprotected static void indicateConditionalJump(ExtendedInterpreter interpreter)
interpreter
- protected static void jumpDone(ExtendedInterpreter interpreter)
protected static Boolean itWasConditionalJump(ExtendedInterpreter interpreter)
protected static void indicateConditionDone(ExtendedInterpreter interpreter)
interpreter
- protected static void doneUndone(ExtendedInterpreter interpreter)
protected static Boolean conditionWasNotDoneYet(ExtendedInterpreter interpreter)
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.