Uses of Interface
org.sonar.plugins.python.api.tree.StatementList
Packages that use StatementList
Package
Description
-
Uses of StatementList in org.sonar.plugins.python.api.tree
Methods in org.sonar.plugins.python.api.tree that return StatementListModifier and TypeMethodDescriptionCaseBlock.body()ClassDef.body()ElseClause.body()ExceptClause.body()FinallyClause.body()ForStatement.body()FunctionDef.body()IfStatement.body()TryStatement.body()WhileStatement.body()FileInput.statements()WithStatement.statements()Methods in org.sonar.plugins.python.api.tree with parameters of type StatementListModifier and TypeMethodDescriptionvoidBaseTreeVisitor.visitStatementList(StatementList statementList) voidTreeVisitor.visitStatementList(StatementList statementList) -
Uses of StatementList in org.sonar.python
Methods in org.sonar.python with parameters of type StatementListModifier and TypeMethodDescriptionstatic StringLiteralDocstringExtractor.extractDocstring(StatementList statements) -
Uses of StatementList in org.sonar.python.cfg
Constructors in org.sonar.python.cfg with parameters of type StatementList -
Uses of StatementList in org.sonar.python.metrics
Methods in org.sonar.python.metrics with parameters of type StatementListModifier and TypeMethodDescriptionvoidCognitiveComplexityVisitor.visitStatementList(StatementList statementList) -
Uses of StatementList in org.sonar.python.quickfix
Methods in org.sonar.python.quickfix with parameters of type StatementListModifier and TypeMethodDescriptionstatic List<PythonTextEdit>TextEditUtils.shiftLeft(StatementList statementList) Shift body statements to be on same level as the parent statement Filter out text edits which apply on the same line which could show up with multiple statements on the same line -
Uses of StatementList in org.sonar.python.tree
Classes in org.sonar.python.tree that implement StatementListMethods in org.sonar.python.tree that return StatementListModifier and TypeMethodDescriptionCaseBlockImpl.body()ClassDefImpl.body()ElseClauseImpl.body()ExceptClauseImpl.body()FinallyClauseImpl.body()ForStatementImpl.body()FunctionDefImpl.body()IfStatementImpl.body()TryStatementImpl.body()WhileStatementImpl.body()FileInputImpl.statements()WithStatementImpl.statements()Constructors in org.sonar.python.tree with parameters of type StatementListModifierConstructorDescriptionCaseBlockImpl(Token caseKeyword, Pattern pattern, Guard guard, Token colon, Token newLine, Token indent, StatementList body, Token dedent) ClassDefImpl(List<Decorator> decorators, Token classKeyword, Name name, TypeParams typeParams, Token leftPar, ArgList args, Token rightPar, Token colon, Token newLine, Token indent, StatementList body, Token dedent, StringLiteral docstring) ElseClauseImpl(Token elseKeyword, Token colon, Token newLine, Token indent, StatementList body, Token dedent) ExceptClauseImpl(Token exceptKeyword, Token starToken, Token colon, Token newLine, Token indent, StatementList body, Token dedent) ExceptClauseImpl(Token exceptKeyword, Token starToken, Token colon, Token newLine, Token indent, StatementList body, Token dedent, Expression exception) ExceptClauseImpl(Token exceptKeyword, Token starToken, Token colon, Token newLine, Token indent, StatementList body, Token dedent, Expression exception, Token asNode, Token commaNode, Expression exceptionInstance) FileInputImpl(StatementList statements, Token endOfFile, StringLiteral docstring) FinallyClauseImpl(Token finallyKeyword, Token colon, Token newLine, Token indent, StatementList body, Token dedent) ForStatementImpl(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) FunctionDefImpl(List<Decorator> decorators, Token asyncKeyword, Token defKeyword, Name name, TypeParams typeParams, Token leftPar, ParameterList parameters, Token rightPar, TypeAnnotation returnType, Token colon, Token newLine, Token indent, StatementList body, Token dedent, boolean isMethodDefinition, StringLiteral docstring) IfStatementImpl(Token elifKeyword, Expression condition, Token colon, Token newLine, Token indent, StatementList statements, Token dedent) Elif statement constructorIfStatementImpl(Token ifKeyword, Expression condition, Token colon, Token newLine, Token indent, StatementList statements, Token dedent, List<IfStatement> elifBranches, ElseClause elseClause) If statement constructorTryStatementImpl(Token tryKeyword, Token colon, Token newLine, Token indent, StatementList tryBody, Token dedent, List<ExceptClause> exceptClauses, FinallyClause finallyClause, ElseClause elseClause) WhileStatementImpl(Token whileKeyword, Expression condition, Token colon, Token firstNewline, Token firstIndent, StatementList body, Token firstDedent, ElseClause elseClause) WithStatementImpl(Token withKeyword, Token openParens, List<WithItem> withItems, List<Token> commas, Token closeParens, Token colon, Token newLine, Token indent, StatementList statements, Token dedent, Token asyncKeyword)