public class IfCommand extends Command
| Constructor and Description |
|---|
IfCommand() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getCondition() |
Instruction |
getElseScope() |
Instruction |
getThenScope() |
void |
setCondition(Expression condition) |
void |
setElseScope(Instruction elseScope) |
void |
setThenScope(Instruction thenScope) |
addArg, addArg, addOperation, getArg, getArg, getArgCount, getFirstUnamedArg, getName, getOperations, getUnamedArgCount, toStringgetTypepublic Expression getCondition()
public void setCondition(Expression condition)
public Instruction getThenScope()
public void setThenScope(Instruction thenScope)
public Instruction getElseScope()
public void setElseScope(Instruction elseScope)
Copyright © 2018. All rights reserved.