Class AbstractCommandIfKind
- java.lang.Object
-
- com.scriptbasic.executors.commands.AbstractCommand
-
- com.scriptbasic.executors.commands.AbstractCommandIfElseKind
-
- com.scriptbasic.executors.commands.AbstractCommandIfKind
-
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
- Direct Known Subclasses:
CommandElseIf,CommandIf
public abstract class AbstractCommandIfKind extends AbstractCommandIfElseKind
- Author:
- Peter Verhas date Jul 12, 2012
-
-
Constructor Summary
Constructors Constructor Description AbstractCommandIfKind()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetCondition()voidsetCondition(Expression condition)protected java.lang.BooleantheConditionIsTrue(Interpreter interpreter)-
Methods inherited from class com.scriptbasic.executors.commands.AbstractCommandIfElseKind
doneUndone, getPrevious, setNext, setPrevious
-
Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, execute, getNextCommand, setNextCommand
-
-
-
-
Method Detail
-
getCondition
public Expression getCondition()
-
setCondition
public void setCondition(Expression condition)
-
theConditionIsTrue
protected java.lang.Boolean theConditionIsTrue(Interpreter interpreter) throws ScriptBasicException
- Throws:
ScriptBasicException
-
-