Package org.sonar.python.api.tree
Interface WhileStatement
-
- All Known Implementing Classes:
WhileStatementImpl
public interface WhileStatement extends Statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementListbody()Tokencolon()Expressioncondition()StatementListelseBody()TokenelseColon()TokenelseKeyword()TokenwhileKeyword()-
Methods inherited from interface org.sonar.python.api.tree.Tree
accept, ancestors, astNode, children, descendants, descendants, firstToken, getKind, is, lastToken, parent
-
-
-
-
Method Detail
-
whileKeyword
Token whileKeyword()
-
condition
Expression condition()
-
colon
Token colon()
-
body
StatementList body()
-
elseKeyword
@CheckForNull Token elseKeyword()
-
elseColon
@CheckForNull Token elseColon()
-
elseBody
@CheckForNull StatementList elseBody()
-
-