@ParametersAreNonnullByDefault
Package org.sonar.plugins.python.api.tree
-
Interface Summary Interface 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 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 -
Class Summary Class Description BaseTreeVisitor Default implementation ofTreeVisitor. -
Enum Summary Enum Description Tree.Kind