Uses of Package
org.sonar.plugins.python.api.tree
-
Classes in org.sonar.plugins.python.api.tree used by org.sonar.plugins.python.api Class Description BaseTreeVisitor Default implementation ofTreeVisitor.FileInput Root of the AST.Token Tree Tree.Kind TreeVisitor -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.plugins.python.api.cfg Class Description FileInput Root of the AST.FunctionDef Tree -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.plugins.python.api.symbols Class Description Tree -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.plugins.python.api.tree Class Description AliasedName Aliased nameAnnotatedAssignment AnyParameter ArgList Argument Common interface forRegularArgument,UnpackingExpressionAsPattern As patternAssertStatement AssignmentExpression AssignmentStatement AwaitExpression BinaryExpression BreakStatement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-break-stmtCallExpression CapturePattern Capture PatternCaseBlock Case blockClassDef ClassPattern Class patternCompoundAssignmentStatement ComprehensionClause ComprehensionExpression ComprehensionFor ComprehensionIf ConditionalExpression ContinueStatement See https://docs.python.org/3/reference/simple_stmts.html#the-continue-statementDecorator DelStatement DictionaryLiteral DictionaryLiteralElement It can be eitherKeyValuePairorUnpackingExpressionDottedName Example:os.envorCrypto.Cipher.AESDoubleStarPattern Double Star Pattern (only used within mapping patterns)EllipsisExpression Represents singleton Ellipsis objectElseClause Common interface for ElseClause used inIfStatement.elseBranch(),ForStatement.elseClause(),WhileStatement.elseClause()andTryStatement.elseClause()ExceptClause ExecStatement Python 2 only.Expression ExpressionList Example:ExpressionStatement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-expression-stmtFileInput Root of the AST.FinallyClause finally:FinallyClause.body()FormatSpecifier FormattedExpression ForStatement FunctionDef FunctionLike Common interface forFunctionDefandLambdaExpressionGlobalStatement globalGlobalStatement.variables()GroupPattern Group PatternGuard GuardHasSymbol IfStatement if-elif-else statement.ImportFrom Import From statementImportName Import statementImportStatement Import statement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-import-stmtKeyValuePair KeyValuePattern Key Value Pattern (only used within mapping patterns)KeywordPattern Keyword pattern Used only inside Class patternLambdaExpression ListLiteral LiteralPattern Literal PatternMappingPattern Mapping PatternMatchStatement Match statementName See https://docs.python.org/3/reference/expressions.html#atom-identifiersNoneExpression See https://docs.python.org/3/library/constants.html#NoneNonlocalStatement nonlocalNonlocalStatement.variables()NumericLiteral OrPattern OR patternParameter ParameterList See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameter-listParenthesizedExpression PassStatement https://docs.python.org/3/reference/simple_stmts.html#grammar-token-pass-stmtPattern PrintStatement Python 2 only.QualifiedExpression Qualified expression like "foo.bar"RaiseStatement RegularArgument ReprExpression Python 2 only.ReturnStatement SequencePattern Sequence PatternSetLiteral SliceExpression SliceItem SliceList StarPattern Star Pattern Only used inside sequence patternsStatement StatementList StringElement StringLiteral See https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenationSubscriptionExpression Token Tree Tree.Kind TreeVisitor Trivia TryStatement Tuple (Tuple.elements())TupleParameter Python 2 onlyTypeAnnotation UnaryExpression UnpackingExpression ValuePattern Value PatternWhileStatement WildcardPattern Group PatternWithItem WithStatement YieldExpression YieldStatement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-yield-stmt -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python Class Description StatementList StringLiteral See https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenationToken -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.cfg Class Description StatementList Tree -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.cfg.fixpoint Class Description BaseTreeVisitor Default implementation ofTreeVisitor.Expression FunctionDef LambdaExpression Name See https://docs.python.org/3/reference/expressions.html#atom-identifiersTree TreeVisitor -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.metrics Class Description BaseTreeVisitor Default implementation ofTreeVisitor.BinaryExpression ClassDef ComprehensionIf ConditionalExpression ElseClause Common interface for ElseClause used inIfStatement.elseBranch(),ForStatement.elseClause(),WhileStatement.elseClause()andTryStatement.elseClause()ExceptClause ForStatement FunctionDef IfStatement if-elif-else statement.StatementList StringLiteral See https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenationToken Tree TreeVisitor Trivia WhileStatement -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.regex Class Description StringElement Tree -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.semantic Class Description AssignmentStatement BaseTreeVisitor Default implementation ofTreeVisitor.ClassDef Expression FileInput Root of the AST.ParameterList See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameter-listTree TreeVisitor TypeAnnotation -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.tree Class Description AliasedName Aliased nameAnnotatedAssignment AnyParameter ArgList Argument Common interface forRegularArgument,UnpackingExpressionAsPattern As patternAssertStatement AssignmentExpression AssignmentStatement AwaitExpression BinaryExpression BreakStatement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-break-stmtCallExpression CapturePattern Capture PatternCaseBlock Case blockClassDef ClassPattern Class patternCompoundAssignmentStatement ComprehensionClause ComprehensionExpression ComprehensionFor ComprehensionIf ConditionalExpression ContinueStatement See https://docs.python.org/3/reference/simple_stmts.html#the-continue-statementDecorator DelStatement DictCompExpression Dictionary ComprehensionDictionaryLiteral DictionaryLiteralElement It can be eitherKeyValuePairorUnpackingExpressionDottedName Example:os.envorCrypto.Cipher.AESDoubleStarPattern Double Star Pattern (only used within mapping patterns)EllipsisExpression Represents singleton Ellipsis objectElseClause Common interface for ElseClause used inIfStatement.elseBranch(),ForStatement.elseClause(),WhileStatement.elseClause()andTryStatement.elseClause()ExceptClause ExecStatement Python 2 only.Expression ExpressionList Example:ExpressionStatement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-expression-stmtFileInput Root of the AST.FinallyClause finally:FinallyClause.body()FormatSpecifier FormattedExpression ForStatement FunctionDef FunctionLike Common interface forFunctionDefandLambdaExpressionGlobalStatement globalGlobalStatement.variables()GroupPattern Group PatternGuard GuardHasSymbol IfStatement if-elif-else statement.ImportFrom Import From statementImportName Import statementImportStatement Import statement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-import-stmtInExpression IsExpression KeyValuePair KeyValuePattern Key Value Pattern (only used within mapping patterns)KeywordPattern Keyword pattern Used only inside Class patternLambdaExpression ListLiteral LiteralPattern Literal PatternMappingPattern Mapping PatternMatchStatement Match statementName See https://docs.python.org/3/reference/expressions.html#atom-identifiersNoneExpression See https://docs.python.org/3/library/constants.html#NoneNonlocalStatement nonlocalNonlocalStatement.variables()NumericLiteral OrPattern OR patternParameter ParameterList See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameter-listParenthesizedExpression PassStatement https://docs.python.org/3/reference/simple_stmts.html#grammar-token-pass-stmtPattern PrintStatement Python 2 only.QualifiedExpression Qualified expression like "foo.bar"RaiseStatement RegularArgument ReprExpression Python 2 only.ReturnStatement SequencePattern Sequence PatternSetLiteral SliceExpression SliceItem SliceList StarPattern Star Pattern Only used inside sequence patternsStatement StatementList StringElement StringLiteral See https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenationSubscriptionExpression Token Tree Tree.Kind TreeVisitor Trivia TryStatement Tuple (Tuple.elements())TupleParameter Python 2 onlyTypeAnnotation UnaryExpression UnpackingExpression ValuePattern Value PatternWhileStatement WildcardPattern Group PatternWithItem WithStatement YieldExpression YieldStatement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-yield-stmt -
Classes in org.sonar.plugins.python.api.tree used by org.sonar.python.types Class Description AssignmentStatement BaseTreeVisitor Default implementation ofTreeVisitor.Expression FileInput Root of the AST.QualifiedExpression Qualified expression like "foo.bar"TreeVisitor TypeAnnotation