|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIfThenStatement
An if-then statement contains a boolean if clause, a then clause and an optional else clause.
Abstract syntax reference:
IfThenStatement ::= if:BinaryOperatorStatement then:IfThenStatement (else:IfThenStatement)?
Field Summary |
---|
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode |
---|
NEWLINE |
Method Summary | |
---|---|
IConstraint |
getElse()
Return the else clause. |
IConstraint |
getIf()
Return the if clause. |
IConstraint |
getThen()
Return the then clause. |
Methods inherited from interface net.sourceforge.nrl.parser.ast.constraints.IConstraint |
---|
getNRLDataType, setNRLDataType |
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode |
---|
accept, dump, getColumn, getLine, getUserData, setUserData |
Method Detail |
---|
IConstraint getIf()
IConstraint getThen()
IConstraint getElse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |