|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConditionalAction
An if-then-else type action. If the "if" part, which is an NRL
IConstraint
, holds true, the "then"
actions are executed, else the "else" actions are executed.
Field Summary |
---|
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode |
---|
NEWLINE |
Method Summary | |
---|---|
ICompoundAction |
getElse()
Return the actions to execute if the condition does not hold. |
IConstraint |
getIf()
Returns the condition. |
ICompoundAction |
getThen()
Return the actions to execute if the condition holds. |
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode |
---|
accept, dump, getColumn, getLine, getUserData, setUserData |
Method Detail |
---|
IConstraint getIf()
ICompoundAction getThen()
ICompoundAction getElse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |