Interface IfStatement
- All Known Implementing Classes:
IfStatementImpl
if-elif-else statement.
Note that this interface has a recursive structure because it represents both 'if' clause and 'elif' clause
iforcondition():body()elseBranch()
elifSee https://docs.python.org/3/reference/compound_stmts.html#grammar-token-if-stmtcondition():body()
-
Method Details
-
keyword
Token keyword() -
condition
Expression condition() -
body
StatementList body() -
elifBranches
List<IfStatement> elifBranches() -
isElif
boolean isElif() -
elseBranch
-