Package org.sonar.python.api.tree
Interface PyIfStatementTree
-
- All Superinterfaces:
PyStatementTree,Tree
- All Known Implementing Classes:
PyIfStatementTreeImpl
public interface PyIfStatementTree extends PyStatementTree
if-elif-else statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PyStatementListTreebody()PyExpressionTreecondition()List<PyIfStatementTree>elifBranches()PyElseStatementTreeelseBranch()booleanisElif()com.sonar.sslr.api.Tokenkeyword()
-
-
-
Method Detail
-
keyword
com.sonar.sslr.api.Token keyword()
-
condition
PyExpressionTree condition()
-
body
PyStatementListTree body()
-
elifBranches
List<PyIfStatementTree> elifBranches()
-
isElif
boolean isElif()
-
elseBranch
@CheckForNull PyElseStatementTree elseBranch()
-
-