Package org.sonar.python.tree
Class WhileStatementImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.WhileStatementImpl
- All Implemented Interfaces:
Statement,Tree,WhileStatement
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionWhileStatementImpl(Token whileKeyword, Expression condition, Token colon, Token firstNewline, Token firstIndent, StatementList body, Token firstDedent, ElseClause elseClause) -
Method Summary
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
Constructor Details
-
WhileStatementImpl
public WhileStatementImpl(Token whileKeyword, Expression condition, Token colon, @Nullable Token firstNewline, @Nullable Token firstIndent, StatementList body, @Nullable Token firstDedent, @Nullable ElseClause elseClause)
-
-
Method Details
-
getKind
-
accept
-
whileKeyword
- Specified by:
whileKeywordin interfaceWhileStatement
-
condition
- Specified by:
conditionin interfaceWhileStatement
-
colon
- Specified by:
colonin interfaceWhileStatement
-
body
- Specified by:
bodyin interfaceWhileStatement
-
elseClause
- Specified by:
elseClausein interfaceWhileStatement
-
computeChildren
-