Package org.sonar.python.tree
Class ForStatementImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.ForStatementImpl
- All Implemented Interfaces:
ForStatement,Statement,Tree
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionForStatementImpl(Token forKeyword, List<Expression> expressions, List<Token> expressionsCommas, Token inKeyword, List<Expression> testExpressions, List<Token> testExpressionsCommas, Token colon, Token firstNewLine, Token firstIndent, StatementList body, Token firstDedent, ElseClause elseClause, Token asyncKeyword) -
Method Summary
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
Constructor Details
-
ForStatementImpl
public ForStatementImpl(Token forKeyword, List<Expression> expressions, List<Token> expressionsCommas, Token inKeyword, List<Expression> testExpressions, List<Token> testExpressionsCommas, Token colon, @Nullable Token firstNewLine, @Nullable Token firstIndent, StatementList body, @Nullable Token firstDedent, @Nullable ElseClause elseClause, @Nullable Token asyncKeyword)
-
-
Method Details
-
getKind
-
accept
-
forKeyword
- Specified by:
forKeywordin interfaceForStatement
-
expressions
- Specified by:
expressionsin interfaceForStatement
-
inKeyword
- Specified by:
inKeywordin interfaceForStatement
-
testExpressions
- Specified by:
testExpressionsin interfaceForStatement
-
colon
- Specified by:
colonin interfaceForStatement
-
body
- Specified by:
bodyin interfaceForStatement
-
elseClause
- Specified by:
elseClausein interfaceForStatement
-
isAsync
public boolean isAsync()- Specified by:
isAsyncin interfaceForStatement
-
asyncKeyword
- Specified by:
asyncKeywordin interfaceForStatement
-
computeChildren
-