A B C D E F G H I K L M N O P Q R S T U V W X Y 
All Classes All Packages

A

A_EXPR - org.sonar.python.api.PythonGrammar
 
accept(TreeVisitor) - Method in interface org.sonar.plugins.python.api.tree.Tree
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.AliasedNameImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ArgListImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.AssertStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.AssignmentExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.AwaitExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.BreakStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.CallExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ClassDefImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ComprehensionForImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ComprehensionIfImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ContinueStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.DecoratorImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.DelStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.DictionaryLiteralImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.DottedNameImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.EllipsisExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ElseClauseImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ExceptClauseImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ExecStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ExpressionListImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ExpressionStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.FileInputImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.FinallyClauseImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.FormattedExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ForStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.FunctionDefImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.GlobalStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.IfStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ImportFromImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ImportNameImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.KeyValuePairImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ListLiteralImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.NameImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.NoneExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.NonlocalStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.NumericLiteralImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ParameterImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ParameterListImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.PassStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.PrintStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.QualifiedExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.RaiseStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.RegularArgumentImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ReprExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.ReturnStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.SetLiteralImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.SliceExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.SliceItemImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.SliceListImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.StatementListImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.StringElementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.StringLiteralImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.TokenImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.TryStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.TupleImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.TupleParameterImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.TypeAnnotationImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.UnaryExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.UnpackingExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.WhileStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.WithStatementImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.YieldExpressionImpl
 
accept(TreeVisitor) - Method in class org.sonar.python.tree.YieldStatementImpl
 
addClassField(Symbol) - Method in class org.sonar.python.tree.ClassDefImpl
 
addElement(Tree) - Method in class org.sonar.python.cfg.PythonCfgBlock
 
addFileIssue(String) - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
addGlobalVariables(Symbol) - Method in class org.sonar.python.tree.FileInputImpl
 
addInstanceField(Symbol) - Method in class org.sonar.python.tree.ClassDefImpl
 
addIssue(LocationInFile, String) - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
addIssue(PythonCheck.PreciseIssue) - Method in class org.sonar.plugins.python.api.PythonVisitorContext
 
addIssue(Token, String) - Method in class org.sonar.plugins.python.api.PythonVisitorCheck
 
addIssue(Token, String) - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
addIssue(Token, Token, String) - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
addIssue(Tree, String) - Method in class org.sonar.plugins.python.api.PythonVisitorCheck
 
addIssue(Tree, String) - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
addLineIssue(String, int) - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
addLocalVariableSymbol(Symbol) - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
addLocalVariableSymbol(Symbol) - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
addLocalVariableSymbol(Symbol) - Method in class org.sonar.python.tree.FunctionDefImpl
 
addLocalVariableSymbol(Symbol) - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
addMembers(Collection<Symbol>) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
addSuperClass(Symbol) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
addUsage(Usage) - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor.SymbolReadWrite
 
alias() - Method in interface org.sonar.plugins.python.api.tree.AliasedName
 
alias() - Method in class org.sonar.python.tree.AliasedNameImpl
 
ALIASED_NAME - org.sonar.plugins.python.api.tree.Tree.Kind
 
AliasedName - Interface in org.sonar.plugins.python.api.tree
Aliased name
AliasedNameImpl - Class in org.sonar.python.tree
 
AliasedNameImpl(DottedName) - Constructor for class org.sonar.python.tree.AliasedNameImpl
 
AliasedNameImpl(Token, DottedName, Name) - Constructor for class org.sonar.python.tree.AliasedNameImpl
 
all() - Method in interface org.sonar.plugins.python.api.tree.ParameterList
 
all() - Static method in class org.sonar.python.semantic.BuiltinSymbols
 
all() - Method in class org.sonar.python.tree.ParameterListImpl
 
alternatives() - Method in interface org.sonar.plugins.python.api.symbols.AmbiguousSymbol
 
alternatives() - Method in class org.sonar.python.semantic.AmbiguousSymbolImpl
 
AMBIGUOUS - org.sonar.plugins.python.api.symbols.Symbol.Kind
 
AmbiguousSymbol - Interface in org.sonar.plugins.python.api.symbols
 
AmbiguousSymbolImpl - Class in org.sonar.python.semantic
 
analyze(Collection<PythonSubscriptionCheck>, PythonVisitorContext) - Static method in class org.sonar.python.SubscriptionVisitor
 
analyze(ControlFlowGraph) - Static method in class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis
 
analyze(ControlFlowGraph, Set<Symbol>) - Static method in class org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis
 
AND - org.sonar.plugins.python.api.tree.Tree.Kind
 
AND - org.sonar.python.api.PythonKeyword
Logical AND.
AND - org.sonar.python.api.PythonPunctuator
Bitwise AND.
AND_ASSIGN - org.sonar.python.api.PythonPunctuator
 
AND_EXPR - org.sonar.python.api.PythonGrammar
 
AND_TEST - org.sonar.python.api.PythonGrammar
 
ANNASSIGN - org.sonar.python.api.PythonGrammar
 
ANNOTATED_ASSIGNMENT - org.sonar.plugins.python.api.tree.Tree.Kind
 
annotatedAssignment(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
AnnotatedAssignment - Interface in org.sonar.plugins.python.api.tree
AnnotatedAssignmentImpl - Class in org.sonar.python.tree
 
AnnotatedAssignmentImpl(Expression, TypeAnnotation, Token, Expression, Separators) - Constructor for class org.sonar.python.tree.AnnotatedAssignmentImpl
 
annotation() - Method in interface org.sonar.plugins.python.api.tree.AnnotatedAssignment
 
annotation() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
AnyParameter - Interface in org.sonar.plugins.python.api.tree
 
anyType() - Static method in class org.sonar.python.types.InferredTypes
 
ARG_LIST - org.sonar.plugins.python.api.tree.Tree.Kind
 
ArgList - Interface in org.sonar.plugins.python.api.tree
 
ARGLIST - org.sonar.python.api.PythonGrammar
 
ArgListImpl - Class in org.sonar.python.tree
 
ArgListImpl(List<Argument>, List<Token>) - Constructor for class org.sonar.python.tree.ArgListImpl
 
args() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
null if class is defined without args class Foo:... or class Foo():...
args() - Method in class org.sonar.python.tree.ClassDefImpl
 
argument(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
Argument - Interface in org.sonar.plugins.python.api.tree
Common interface for RegularArgument, UnpackingExpression
ARGUMENT - org.sonar.python.api.PythonGrammar
 
argumentList() - Method in interface org.sonar.plugins.python.api.tree.CallExpression
 
argumentList() - Method in class org.sonar.python.tree.CallExpressionImpl
 
arguments() - Method in interface org.sonar.plugins.python.api.tree.ArgList
 
arguments() - Method in interface org.sonar.plugins.python.api.tree.CallExpression
Utility method to return argumentList().arguments() or an empty list when argumentList is null.
arguments() - Method in interface org.sonar.plugins.python.api.tree.Decorator
 
arguments() - Method in class org.sonar.python.tree.ArgListImpl
 
arguments() - Method in class org.sonar.python.tree.CallExpressionImpl
 
arguments() - Method in class org.sonar.python.tree.DecoratorImpl
 
as() - Method in interface org.sonar.plugins.python.api.tree.WithItem
 
as() - Method in class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
AS - org.sonar.python.api.PythonKeyword
 
asKeyword() - Method in interface org.sonar.plugins.python.api.tree.AliasedName
 
asKeyword() - Method in interface org.sonar.plugins.python.api.tree.ExceptClause
 
asKeyword() - Method in class org.sonar.python.tree.AliasedNameImpl
 
asKeyword() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
ASSERT - org.sonar.python.api.PythonKeyword
 
ASSERT_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
ASSERT_STMT - org.sonar.python.api.PythonGrammar
 
assertKeyword() - Method in interface org.sonar.plugins.python.api.tree.AssertStatement
 
assertKeyword() - Method in class org.sonar.python.tree.AssertStatementImpl
 
assertStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
AssertStatement - Interface in org.sonar.plugins.python.api.tree
AssertStatementImpl - Class in org.sonar.python.tree
 
AssertStatementImpl(Token, Expression, Expression, Separators) - Constructor for class org.sonar.python.tree.AssertStatementImpl
 
ASSIGN - org.sonar.python.api.PythonPunctuator
 
assignedValue() - Method in interface org.sonar.plugins.python.api.tree.AnnotatedAssignment
 
assignedValue() - Method in interface org.sonar.plugins.python.api.tree.AssignmentStatement
 
assignedValue() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
assignedValue() - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
assignment(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ASSIGNMENT_EXPRESSION - org.sonar.plugins.python.api.tree.Tree.Kind
 
ASSIGNMENT_LHS - org.sonar.plugins.python.api.symbols.Usage.Kind
 
ASSIGNMENT_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
AssignmentExpression - Interface in org.sonar.plugins.python.api.tree
AssignmentExpressionImpl - Class in org.sonar.python.tree
 
AssignmentExpressionImpl(Name, Token, Expression) - Constructor for class org.sonar.python.tree.AssignmentExpressionImpl
 
assignmentsLhs(AssignmentStatement) - Static method in class org.sonar.python.semantic.SymbolUtils
 
AssignmentStatement - Interface in org.sonar.plugins.python.api.tree
AssignmentStatementImpl - Class in org.sonar.python.tree
 
AssignmentStatementImpl(List<Token>, List<ExpressionList>, Expression, Separators) - Constructor for class org.sonar.python.tree.AssignmentStatementImpl
 
ASYNC_STMT - org.sonar.python.api.PythonGrammar
 
asyncKeyword() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
asyncKeyword() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
asyncKeyword() - Method in interface org.sonar.plugins.python.api.tree.WithStatement
 
asyncKeyword() - Method in class org.sonar.python.tree.ForStatementImpl
 
asyncKeyword() - Method in class org.sonar.python.tree.FunctionDefImpl
 
asyncKeyword() - Method in class org.sonar.python.tree.WithStatementImpl
 
asyncToken() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionFor
 
asyncToken() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
AT - org.sonar.python.api.PythonPunctuator
 
atFileLevel(String) - Static method in class org.sonar.plugins.python.api.IssueLocation
 
atLineLevel(String, int) - Static method in class org.sonar.plugins.python.api.IssueLocation
 
ATOM - org.sonar.python.api.PythonGrammar
 
atToken() - Method in interface org.sonar.plugins.python.api.tree.Decorator
 
atToken() - Method in class org.sonar.python.tree.DecoratorImpl
 
AUGASSIGN - org.sonar.python.api.PythonGrammar
 
AWAIT - org.sonar.plugins.python.api.tree.Tree.Kind
 
AwaitExpression - Interface in org.sonar.plugins.python.api.tree
AwaitExpressionImpl - Class in org.sonar.python.tree
 
AwaitExpressionImpl(Token, Expression) - Constructor for class org.sonar.python.tree.AwaitExpressionImpl
 
awaitToken() - Method in interface org.sonar.plugins.python.api.tree.AwaitExpression
 
awaitToken() - Method in class org.sonar.python.tree.AwaitExpressionImpl
 

B

BACKTICK - org.sonar.python.api.PythonPunctuator
 
BASE_EXCEPTION - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
BaseTreeVisitor - Class in org.sonar.plugins.python.api.tree
Default implementation of TreeVisitor.
BaseTreeVisitor() - Constructor for class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
BinaryExpression - Interface in org.sonar.plugins.python.api.tree
BinaryExpressionImpl - Class in org.sonar.python.tree
 
BinaryExpressionImpl(Expression, Token, Expression) - Constructor for class org.sonar.python.tree.BinaryExpressionImpl
 
BITWISE_AND - org.sonar.plugins.python.api.tree.Tree.Kind
 
BITWISE_COMPLEMENT - org.sonar.plugins.python.api.tree.Tree.Kind
 
BITWISE_OR - org.sonar.plugins.python.api.tree.Tree.Kind
 
BITWISE_XOR - org.sonar.plugins.python.api.tree.Tree.Kind
 
block - Variable in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
blocks() - Method in class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
body() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
body() - Method in interface org.sonar.plugins.python.api.tree.ElseClause
 
body() - Method in interface org.sonar.plugins.python.api.tree.ExceptClause
 
body() - Method in interface org.sonar.plugins.python.api.tree.FinallyClause
 
body() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
body() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
body() - Method in interface org.sonar.plugins.python.api.tree.IfStatement
 
body() - Method in interface org.sonar.plugins.python.api.tree.TryStatement
 
body() - Method in interface org.sonar.plugins.python.api.tree.WhileStatement
 
body() - Method in class org.sonar.python.tree.ClassDefImpl
 
body() - Method in class org.sonar.python.tree.ElseClauseImpl
 
body() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
body() - Method in class org.sonar.python.tree.FinallyClauseImpl
 
body() - Method in class org.sonar.python.tree.ForStatementImpl
 
body() - Method in class org.sonar.python.tree.FunctionDefImpl
 
body() - Method in class org.sonar.python.tree.IfStatementImpl
 
body() - Method in class org.sonar.python.tree.TryStatementImpl
 
body() - Method in class org.sonar.python.tree.WhileStatementImpl
 
BOOL - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
BOOL - Static variable in class org.sonar.python.types.InferredTypes
 
boundSeparator() - Method in interface org.sonar.plugins.python.api.tree.SliceItem
 
boundSeparator() - Method in class org.sonar.python.tree.SliceItemImpl
 
branchingTree() - Method in interface org.sonar.plugins.python.api.cfg.CfgBranchingBlock
Syntax tree causing branching: e.g.
branchingTree() - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
BREAK - org.sonar.python.api.PythonKeyword
 
BREAK_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
BREAK_STMT - org.sonar.python.api.PythonGrammar
 
breakKeyword() - Method in interface org.sonar.plugins.python.api.tree.BreakStatement
 
breakKeyword() - Method in class org.sonar.python.tree.BreakStatementImpl
 
breakStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
BreakStatement - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-break-stmt
BreakStatementImpl - Class in org.sonar.python.tree
 
BreakStatementImpl(Token, Separators) - Constructor for class org.sonar.python.tree.BreakStatementImpl
 
build(CfgBlock) - Static method in class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis.LiveVariables
Builds a new LiveVariables instance for the given block and initializes the 'kill' and 'gen' symbol sets.
build(CfgBlock, Map<Symbol, DefinedVariablesAnalysis.VariableDefinition>) - Static method in class org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.DefinedVariables
Builds a new DefinedVariables instance for the given block and initializes the 'kill' symbol sets.
build(FileInput, PythonFile) - Static method in class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
build(FunctionDef, PythonFile) - Static method in class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
builtinSymbols() - Static method in class org.sonar.python.types.TypeShed
 
BuiltinSymbols - Class in org.sonar.python.semantic
 
BuiltinTypes - Class in org.sonar.plugins.python.api.types
 

C

CALL_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
callee() - Method in interface org.sonar.plugins.python.api.tree.CallExpression
 
callee() - Method in class org.sonar.python.tree.CallExpressionImpl
 
calleeSymbol() - Method in interface org.sonar.plugins.python.api.tree.CallExpression
 
CallExpression - Interface in org.sonar.plugins.python.api.tree
CallExpressionImpl - Class in org.sonar.python.tree
 
CallExpressionImpl(Expression, ArgList, Token, Token) - Constructor for class org.sonar.python.tree.CallExpressionImpl
 
canBeOrExtend(String) - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
canBeOrExtend(String) - Method in interface org.sonar.plugins.python.api.types.InferredType
 
canBeOrExtend(String) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
canHaveMember(String) - Method in interface org.sonar.plugins.python.api.types.InferredType
 
canOnlyBe(String) - Method in interface org.sonar.plugins.python.api.types.InferredType
 
CfgBlock - Interface in org.sonar.plugins.python.api.cfg
 
CfgBlockState - Class in org.sonar.python.cfg.fixpoint
 
CfgBranchingBlock - Interface in org.sonar.plugins.python.api.cfg
A CfgBlock with 2 successors: represents a block ending with a condition which determines which successor is executed next.
CfgUtils - Class in org.sonar.python.cfg
 
check() - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
checkClasses() - Method in interface org.sonar.plugins.python.api.PythonCustomRuleRepository
List of the custom rules classes.
children() - Method in interface org.sonar.plugins.python.api.tree.Tree
 
children() - Method in class org.sonar.python.tree.PyTree
 
CLASS - org.sonar.plugins.python.api.symbols.Symbol.Kind
 
CLASS - org.sonar.python.api.PythonKeyword
 
CLASS_DECLARATION - org.sonar.plugins.python.api.symbols.Usage.Kind
 
ClassDef - Interface in org.sonar.plugins.python.api.tree
CLASSDEF - org.sonar.plugins.python.api.tree.Tree.Kind
 
CLASSDEF - org.sonar.python.api.PythonGrammar
 
ClassDefImpl - Class in org.sonar.python.tree
 
ClassDefImpl(List<Decorator>, Token, Name, Token, ArgList, Token, Token, Token, Token, StatementList, Token, StringLiteral) - Constructor for class org.sonar.python.tree.ClassDefImpl
 
classDefStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
classFields() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
Contains fields and methods symbols
classFields() - Method in class org.sonar.python.tree.ClassDefImpl
 
classKeyword() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
classKeyword() - Method in class org.sonar.python.tree.ClassDefImpl
 
CLASSNAME - org.sonar.python.api.PythonGrammar
 
ClassSymbol - Interface in org.sonar.plugins.python.api.symbols
 
ClassSymbolImpl - Class in org.sonar.python.semantic
 
ClassSymbolImpl(String, String) - Constructor for class org.sonar.python.semantic.ClassSymbolImpl
 
ClassSymbolImpl(String, String, LocationInFile) - Constructor for class org.sonar.python.semantic.ClassSymbolImpl
 
ClassSymbolImpl(ClassDef, String, PythonFile) - Constructor for class org.sonar.python.semantic.ClassSymbolImpl
 
closingBacktick() - Method in interface org.sonar.plugins.python.api.tree.ReprExpression
 
closingBacktick() - Method in class org.sonar.python.tree.ReprExpressionImpl
 
closingParenthesis() - Method in interface org.sonar.plugins.python.api.tree.TupleParameter
 
closingParenthesis() - Method in class org.sonar.python.tree.TupleParameterImpl
 
cognitiveComplexity() - Method in class org.sonar.python.metrics.FileMetrics
 
CognitiveComplexityVisitor - Class in org.sonar.python.metrics
 
CognitiveComplexityVisitor.SecondaryLocationConsumer - Interface in org.sonar.python.metrics
 
colon() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
colon() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
colon() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
colon() - Method in interface org.sonar.plugins.python.api.tree.KeyValuePair
 
colon() - Method in interface org.sonar.plugins.python.api.tree.WhileStatement
 
colon() - Method in interface org.sonar.plugins.python.api.tree.WithStatement
 
colon() - Method in class org.sonar.python.tree.ClassDefImpl
 
colon() - Method in class org.sonar.python.tree.ForStatementImpl
 
colon() - Method in class org.sonar.python.tree.FunctionDefImpl
 
colon() - Method in class org.sonar.python.tree.KeyValuePairImpl
 
colon() - Method in class org.sonar.python.tree.WhileStatementImpl
 
colon() - Method in class org.sonar.python.tree.WithStatementImpl
 
COLON - org.sonar.python.api.PythonPunctuator
 
colonToken() - Method in interface org.sonar.plugins.python.api.tree.DictCompExpression
 
colonToken() - Method in interface org.sonar.plugins.python.api.tree.LambdaExpression
 
colonToken() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
colonToken() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
column() - Method in interface org.sonar.plugins.python.api.tree.Token
 
column() - Method in class org.sonar.python.tree.TokenImpl
 
COMMA - org.sonar.python.api.PythonPunctuator
 
commas() - Method in interface org.sonar.plugins.python.api.tree.DictionaryLiteral
 
commas() - Method in interface org.sonar.plugins.python.api.tree.ExpressionList
 
commas() - Method in interface org.sonar.plugins.python.api.tree.SetLiteral
 
commas() - Method in interface org.sonar.plugins.python.api.tree.Tuple
 
commas() - Method in interface org.sonar.plugins.python.api.tree.TupleParameter
 
commas() - Method in class org.sonar.python.tree.DictOrSetLiteralImpl
 
commas() - Method in class org.sonar.python.tree.ExpressionListImpl
 
commas() - Method in class org.sonar.python.tree.TupleImpl
 
commas() - Method in class org.sonar.python.tree.TupleParameterImpl
 
commaToken() - Method in interface org.sonar.plugins.python.api.tree.ExceptClause
 
commaToken() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
COMP_DECLARATION - org.sonar.plugins.python.api.symbols.Usage.Kind
 
COMP_FOR - org.sonar.plugins.python.api.tree.Tree.Kind
 
COMP_FOR - org.sonar.python.api.PythonGrammar
 
COMP_IF - org.sonar.plugins.python.api.tree.Tree.Kind
 
COMP_IF - org.sonar.python.api.PythonGrammar
 
COMP_ITER - org.sonar.python.api.PythonGrammar
 
COMP_OPERATOR - org.sonar.python.api.PythonGrammar
 
COMPARISON - org.sonar.plugins.python.api.tree.Tree.Kind
 
COMPARISON - org.sonar.python.api.PythonGrammar
 
COMPLEX - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
COMPLEX - Static variable in class org.sonar.python.types.InferredTypes
 
complexity() - Method in class org.sonar.python.metrics.FileMetrics
 
complexity(Tree) - Static method in class org.sonar.python.metrics.ComplexityVisitor
 
complexity(Tree, CognitiveComplexityVisitor.SecondaryLocationConsumer) - Static method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
ComplexityVisitor - Class in org.sonar.python.metrics
 
ComplexityVisitor() - Constructor for class org.sonar.python.metrics.ComplexityVisitor
 
COMPOUND_ASSIGNMENT - org.sonar.plugins.python.api.tree.Tree.Kind
 
COMPOUND_ASSIGNMENT_LHS - org.sonar.plugins.python.api.symbols.Usage.Kind
 
COMPOUND_STMT - org.sonar.python.api.PythonGrammar
 
compoundAssignment(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
CompoundAssignmentStatement - Interface in org.sonar.plugins.python.api.tree
CompoundAssignmentStatementImpl - Class in org.sonar.python.tree
 
CompoundAssignmentStatementImpl(Expression, Token, Expression, Separators) - Constructor for class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
compoundAssignmentToken() - Method in interface org.sonar.plugins.python.api.tree.CompoundAssignmentStatement
 
compoundAssignmentToken() - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
compoundStatements(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Compound statements http://docs.python.org/reference/compound_stmts.html
ComprehensionClause - Interface in org.sonar.plugins.python.api.tree
 
ComprehensionExpression - Interface in org.sonar.plugins.python.api.tree
ComprehensionExpressionImpl - Class in org.sonar.python.tree
 
ComprehensionExpressionImpl(Tree.Kind, Token, Expression, ComprehensionFor, Token) - Constructor for class org.sonar.python.tree.ComprehensionExpressionImpl
 
comprehensionFor() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionExpression
 
comprehensionFor() - Method in interface org.sonar.plugins.python.api.tree.DictCompExpression
 
comprehensionFor() - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
comprehensionFor() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
ComprehensionFor - Interface in org.sonar.plugins.python.api.tree
ComprehensionForImpl - Class in org.sonar.python.tree
 
ComprehensionForImpl(Token, Token, Expression, Token, Expression, ComprehensionClause) - Constructor for class org.sonar.python.tree.ComprehensionForImpl
 
ComprehensionIf - Interface in org.sonar.plugins.python.api.tree
ComprehensionIfImpl - Class in org.sonar.python.tree
 
ComprehensionIfImpl(Token, Expression, ComprehensionClause) - Constructor for class org.sonar.python.tree.ComprehensionIfImpl
 
computeChildren() - Method in class org.sonar.python.tree.AliasedNameImpl
 
computeChildren() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
computeChildren() - Method in class org.sonar.python.tree.ArgListImpl
 
computeChildren() - Method in class org.sonar.python.tree.AssertStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.AwaitExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.BreakStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.CallExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.ClassDefImpl
 
computeChildren() - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
computeChildren() - Method in class org.sonar.python.tree.ComprehensionIfImpl
 
computeChildren() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.ContinueStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.DecoratorImpl
 
computeChildren() - Method in class org.sonar.python.tree.DelStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.DictOrSetLiteralImpl
 
computeChildren() - Method in class org.sonar.python.tree.DottedNameImpl
 
computeChildren() - Method in class org.sonar.python.tree.EllipsisExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.ElseClauseImpl
 
computeChildren() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
computeChildren() - Method in class org.sonar.python.tree.ExecStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.ExpressionListImpl
 
computeChildren() - Method in class org.sonar.python.tree.ExpressionStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.FileInputImpl
 
computeChildren() - Method in class org.sonar.python.tree.FinallyClauseImpl
 
computeChildren() - Method in class org.sonar.python.tree.ForStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.FunctionDefImpl
 
computeChildren() - Method in class org.sonar.python.tree.GlobalStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.IfStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.ImportFromImpl
 
computeChildren() - Method in class org.sonar.python.tree.ImportNameImpl
 
computeChildren() - Method in class org.sonar.python.tree.InExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.IsExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.KeyValuePairImpl
 
computeChildren() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.ListLiteralImpl
 
computeChildren() - Method in class org.sonar.python.tree.NameImpl
 
computeChildren() - Method in class org.sonar.python.tree.NoneExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.NonlocalStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.NumericLiteralImpl
 
computeChildren() - Method in class org.sonar.python.tree.ParameterImpl
 
computeChildren() - Method in class org.sonar.python.tree.ParameterListImpl
 
computeChildren() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.PassStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.PrintStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.QualifiedExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.RegularArgumentImpl
 
computeChildren() - Method in class org.sonar.python.tree.ReprExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.ReturnStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.SliceItemImpl
 
computeChildren() - Method in class org.sonar.python.tree.SliceListImpl
 
computeChildren() - Method in class org.sonar.python.tree.StatementListImpl
 
computeChildren() - Method in class org.sonar.python.tree.StringElementImpl
 
computeChildren() - Method in class org.sonar.python.tree.StringLiteralImpl
 
computeChildren() - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.TokenImpl
 
computeChildren() - Method in class org.sonar.python.tree.TryStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.TupleImpl
 
computeChildren() - Method in class org.sonar.python.tree.TupleParameterImpl
 
computeChildren() - Method in class org.sonar.python.tree.TypeAnnotationImpl
 
computeChildren() - Method in class org.sonar.python.tree.UnaryExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.UnpackingExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.WhileStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.WithStatementImpl
 
computeChildren() - Method in class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
computeChildren() - Method in class org.sonar.python.tree.YieldExpressionImpl
 
computeChildren() - Method in class org.sonar.python.tree.YieldStatementImpl
 
condition() - Method in interface org.sonar.plugins.python.api.tree.AssertStatement
 
condition() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionIf
 
condition() - Method in interface org.sonar.plugins.python.api.tree.ConditionalExpression
 
condition() - Method in interface org.sonar.plugins.python.api.tree.IfStatement
 
condition() - Method in interface org.sonar.plugins.python.api.tree.WhileStatement
 
condition() - Method in class org.sonar.python.tree.AssertStatementImpl
 
condition() - Method in class org.sonar.python.tree.ComprehensionIfImpl
 
condition() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
condition() - Method in class org.sonar.python.tree.IfStatementImpl
 
condition() - Method in class org.sonar.python.tree.WhileStatementImpl
 
CONDITIONAL_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
ConditionalExpression - Interface in org.sonar.plugins.python.api.tree
ConditionalExpressionImpl - Class in org.sonar.python.tree
 
ConditionalExpressionImpl(Expression, Token, Expression, Token, Expression) - Constructor for class org.sonar.python.tree.ConditionalExpressionImpl
 
CONSTANTS - Static variable in class org.sonar.python.semantic.BuiltinSymbols
See https://docs.python.org/3/library/constants.html#built-in-consts
consume(Token, String) - Method in interface org.sonar.python.metrics.CognitiveComplexityVisitor.SecondaryLocationConsumer
 
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.FStringChannel
 
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.IndentationChannel
 
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.NewLineChannel
 
consume(CodeReader, Lexer) - Method in class org.sonar.python.lexer.StringLiteralsChannel
 
content() - Method in interface org.sonar.plugins.python.api.PythonFile
 
content() - Method in class org.sonar.python.types.TypeShedPythonFile
 
contentStartIndex() - Method in class org.sonar.python.tree.StringElementImpl
 
CONTINUE - org.sonar.python.api.PythonKeyword
 
CONTINUE_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
CONTINUE_STMT - org.sonar.python.api.PythonGrammar
 
continueKeyword() - Method in interface org.sonar.plugins.python.api.tree.ContinueStatement
 
continueKeyword() - Method in class org.sonar.python.tree.ContinueStatementImpl
 
continueStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ContinueStatement - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/simple_stmts.html#the-continue-statement
ContinueStatementImpl - Class in org.sonar.python.tree
 
ContinueStatementImpl(Token, Separators) - Constructor for class org.sonar.python.tree.ContinueStatementImpl
 
ControlFlowGraph - Class in org.sonar.plugins.python.api.cfg
 
ControlFlowGraph(Set<CfgBlock>, CfgBlock, CfgBlock) - Constructor for class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
ControlFlowGraphBuilder - Class in org.sonar.python.cfg
 
ControlFlowGraphBuilder(StatementList) - Constructor for class org.sonar.python.cfg.ControlFlowGraphBuilder
 
cost() - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
create() - Static method in enum org.sonar.python.api.PythonGrammar
 
create() - Static method in class org.sonar.python.parser.PythonParser
 
create(Set<Symbol>) - Static method in class org.sonar.python.semantic.AmbiguousSymbolImpl
 
create(LexerState) - Static method in class org.sonar.python.lexer.PythonLexer
 
createContext(File) - Static method in class org.sonar.python.TestPythonVisitorRunner
 
createContext(File, File) - Static method in class org.sonar.python.TestPythonVisitorRunner
 
createContext(File, File, String, Map<String, Set<Symbol>>) - Static method in class org.sonar.python.TestPythonVisitorRunner
 

D

declaredMembers() - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
declaredMembers() - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
declaredReturnType() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
declaredType() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
declaredType(TypeAnnotation) - Static method in class org.sonar.python.types.InferredTypes
 
Decorator - Interface in org.sonar.plugins.python.api.tree
DECORATOR - org.sonar.plugins.python.api.tree.Tree.Kind
 
DECORATOR - org.sonar.python.api.PythonGrammar
 
DecoratorImpl - Class in org.sonar.python.tree
Even if decorator is not a statement, it extends SimpleStatement in order to properly resolve its last token as it's a newline token
DecoratorImpl(Token, DottedName, Token, ArgList, Token, Token) - Constructor for class org.sonar.python.tree.DecoratorImpl
 
decorators() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
 
decorators() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
decorators() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
decorators() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
decorators() - Method in class org.sonar.python.tree.ClassDefImpl
 
decorators() - Method in class org.sonar.python.tree.FunctionDefImpl
 
DECORATORS - org.sonar.python.api.PythonGrammar
 
DEDENT - org.sonar.python.api.PythonTokenType
 
DEF - org.sonar.python.api.PythonKeyword
 
defaultValue() - Method in interface org.sonar.plugins.python.api.tree.Parameter
 
defaultValue() - Method in class org.sonar.python.tree.ParameterImpl
 
DEFINED - org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.VariableDefinition
 
DefinedVariablesAnalysis - Class in org.sonar.python.cfg.fixpoint
 
DefinedVariablesAnalysis() - Constructor for class org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis
 
DefinedVariablesAnalysis.DefinedVariables - Class in org.sonar.python.cfg.fixpoint
 
DefinedVariablesAnalysis.VariableDefinition - Enum in org.sonar.python.cfg.fixpoint
 
definitionLocation() - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
definitionLocation() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
 
definitionLocation() - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
definitionLocation() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
defKeyword() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
defKeyword() - Method in class org.sonar.python.tree.FunctionDefImpl
 
DEL - org.sonar.python.api.PythonKeyword
 
DEL_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
DEL_STMT - org.sonar.python.api.PythonGrammar
 
delKeyword() - Method in interface org.sonar.plugins.python.api.tree.DelStatement
 
delKeyword() - Method in class org.sonar.python.tree.DelStatementImpl
 
delStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
DelStatement - Interface in org.sonar.plugins.python.api.tree
DelStatementImpl - Class in org.sonar.python.tree
 
DelStatementImpl(Token, List<Expression>, Separators) - Constructor for class org.sonar.python.tree.DelStatementImpl
 
DICT - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
DICT - Static variable in class org.sonar.python.types.InferredTypes
 
DICT_COMPREHENSION - org.sonar.plugins.python.api.tree.Tree.Kind
 
DictCompExpression - Interface in org.sonar.plugins.python.api.tree
Dictionary Comprehension
DictCompExpressionImpl - Class in org.sonar.python.tree
 
DictCompExpressionImpl(Token, Expression, Token, Expression, ComprehensionFor, Token) - Constructor for class org.sonar.python.tree.DictCompExpressionImpl
 
DICTIONARY_LITERAL - org.sonar.plugins.python.api.tree.Tree.Kind
 
DictionaryLiteral - Interface in org.sonar.plugins.python.api.tree
DictionaryLiteralElement - Interface in org.sonar.plugins.python.api.tree
It can be either KeyValuePair or UnpackingExpression
DictionaryLiteralImpl - Class in org.sonar.python.tree
 
DictionaryLiteralImpl(Token, List<Token>, List<DictionaryLiteralElement>, Token) - Constructor for class org.sonar.python.tree.DictionaryLiteralImpl
 
DictOrSetLiteralImpl<E extends Tree> - Class in org.sonar.python.tree
 
DictOrSetLiteralImpl(Token, List<Token>, List<E>, Token) - Constructor for class org.sonar.python.tree.DictOrSetLiteralImpl
 
DICTORSETMAKER - org.sonar.python.api.PythonGrammar
 
DIV - org.sonar.python.api.PythonPunctuator
 
DIV_ASSIGN - org.sonar.python.api.PythonPunctuator
 
DIV_DIV - org.sonar.python.api.PythonPunctuator
 
DIV_DIV_ASSIGN - org.sonar.python.api.PythonPunctuator
 
DIVISION - org.sonar.plugins.python.api.tree.Tree.Kind
 
docstring() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
docstring() - Method in interface org.sonar.plugins.python.api.tree.FileInput
 
docstring() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
docstring() - Method in class org.sonar.python.tree.ClassDefImpl
 
docstring() - Method in class org.sonar.python.tree.FileInputImpl
 
docstring() - Method in class org.sonar.python.tree.FunctionDefImpl
 
DocstringExtractor - Class in org.sonar.python
Extractor of docstring tokens.
DOT - org.sonar.python.api.PythonPunctuator
 
DOTTED_AS_NAME - org.sonar.python.api.PythonGrammar
 
DOTTED_AS_NAMES - org.sonar.python.api.PythonGrammar
 
DOTTED_NAME - org.sonar.plugins.python.api.tree.Tree.Kind
 
DOTTED_NAME - org.sonar.python.api.PythonGrammar
 
dottedName() - Method in interface org.sonar.plugins.python.api.tree.AliasedName
 
dottedName() - Method in class org.sonar.python.tree.AliasedNameImpl
 
DottedName - Interface in org.sonar.plugins.python.api.tree
Example: os.env or Crypto.Cipher.AES
DottedNameImpl - Class in org.sonar.python.tree
 
DottedNameImpl(List<Name>) - Constructor for class org.sonar.python.tree.DottedNameImpl
 
dottedPrefixForModule() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
prefix '.' tokens used in relative import
dottedPrefixForModule() - Method in class org.sonar.python.tree.ImportFromImpl
 
dotToken() - Method in interface org.sonar.plugins.python.api.tree.QualifiedExpression
 
dotToken() - Method in class org.sonar.python.tree.QualifiedExpressionImpl
 

E

elements() - Method in interface org.sonar.plugins.python.api.cfg.CfgBlock
 
elements() - Method in interface org.sonar.plugins.python.api.tree.DictionaryLiteral
 
elements() - Method in interface org.sonar.plugins.python.api.tree.ListLiteral
 
elements() - Method in interface org.sonar.plugins.python.api.tree.SetLiteral
 
elements() - Method in interface org.sonar.plugins.python.api.tree.Tuple
 
elements() - Method in class org.sonar.python.cfg.PythonCfgBlock
 
elements() - Method in class org.sonar.python.cfg.PythonCfgEndBlock
 
elements() - Method in class org.sonar.python.tree.DictOrSetLiteralImpl
 
elements() - Method in class org.sonar.python.tree.ListLiteralImpl
 
elements() - Method in class org.sonar.python.tree.Separators
 
elements() - Method in class org.sonar.python.tree.TupleImpl
 
ELIF - org.sonar.python.api.PythonKeyword
 
elifBranches() - Method in interface org.sonar.plugins.python.api.tree.IfStatement
 
elifBranches() - Method in class org.sonar.python.tree.IfStatementImpl
 
ellipsis() - Method in interface org.sonar.plugins.python.api.tree.EllipsisExpression
 
ellipsis() - Method in class org.sonar.python.tree.EllipsisExpressionImpl
 
ELLIPSIS - org.sonar.plugins.python.api.tree.Tree.Kind
 
ELLIPSIS - org.sonar.python.api.PythonGrammar
 
EllipsisExpression - Interface in org.sonar.plugins.python.api.tree
Represents singleton Ellipsis object
EllipsisExpressionImpl - Class in org.sonar.python.tree
 
EllipsisExpressionImpl(List<Token>) - Constructor for class org.sonar.python.tree.EllipsisExpressionImpl
 
ELSE - org.sonar.python.api.PythonKeyword
 
ELSE_CLAUSE - org.sonar.plugins.python.api.tree.Tree.Kind
 
elseBranch() - Method in interface org.sonar.plugins.python.api.tree.IfStatement
 
elseBranch() - Method in class org.sonar.python.tree.IfStatementImpl
 
elseClause() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
elseClause() - Method in interface org.sonar.plugins.python.api.tree.TryStatement
 
elseClause() - Method in interface org.sonar.plugins.python.api.tree.WhileStatement
 
elseClause() - Method in class org.sonar.python.tree.ForStatementImpl
 
elseClause() - Method in class org.sonar.python.tree.TryStatementImpl
 
elseClause() - Method in class org.sonar.python.tree.WhileStatementImpl
 
ElseClause - Interface in org.sonar.plugins.python.api.tree
ElseClauseImpl - Class in org.sonar.python.tree
 
ElseClauseImpl(Token, Token, Token, Token, StatementList, Token) - Constructor for class org.sonar.python.tree.ElseClauseImpl
 
elseKeyword() - Method in interface org.sonar.plugins.python.api.tree.ConditionalExpression
 
elseKeyword() - Method in interface org.sonar.plugins.python.api.tree.ElseClause
 
elseKeyword() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
elseKeyword() - Method in class org.sonar.python.tree.ElseClauseImpl
 
EMPTY - Static variable in class org.sonar.python.tree.Separators
 
end() - Method in class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
endLine() - Method in class org.sonar.plugins.python.api.IssueLocation
 
endLine() - Method in class org.sonar.plugins.python.api.LocationInFile
 
endLine() - Method in class org.sonar.python.TokenLocation
 
endLineOffset() - Method in class org.sonar.plugins.python.api.IssueLocation
 
endLineOffset() - Method in class org.sonar.plugins.python.api.LocationInFile
 
endLineOffset() - Method in class org.sonar.python.TokenLocation
 
EQU - org.sonar.python.api.PythonPunctuator
 
equalToken() - Method in interface org.sonar.plugins.python.api.tree.AnnotatedAssignment
 
equalToken() - Method in interface org.sonar.plugins.python.api.tree.FormattedExpression
 
equalToken() - Method in interface org.sonar.plugins.python.api.tree.Parameter
 
equalToken() - Method in interface org.sonar.plugins.python.api.tree.RegularArgument
 
equalToken() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
equalToken() - Method in class org.sonar.python.tree.FormattedExpressionImpl
 
equalToken() - Method in class org.sonar.python.tree.ParameterImpl
 
equalToken() - Method in class org.sonar.python.tree.RegularArgumentImpl
 
equalTokens() - Method in interface org.sonar.plugins.python.api.tree.AssignmentStatement
 
equalTokens() - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
EXCEPT - org.sonar.python.api.PythonKeyword
 
EXCEPT_CLAUSE - org.sonar.plugins.python.api.tree.Tree.Kind
 
EXCEPT_CLAUSE - org.sonar.python.api.PythonGrammar
 
ExceptClause - Interface in org.sonar.plugins.python.api.tree
ExceptClauseImpl - Class in org.sonar.python.tree
 
ExceptClauseImpl(Token, Token, Token, Token, StatementList, Token) - Constructor for class org.sonar.python.tree.ExceptClauseImpl
 
ExceptClauseImpl(Token, Token, Token, Token, StatementList, Token, Expression) - Constructor for class org.sonar.python.tree.ExceptClauseImpl
 
ExceptClauseImpl(Token, Token, Token, Token, StatementList, Token, Expression, Token, Token, Expression) - Constructor for class org.sonar.python.tree.ExceptClauseImpl
 
exceptClauses() - Method in interface org.sonar.plugins.python.api.tree.TryStatement
 
exceptClauses() - Method in class org.sonar.python.tree.TryStatementImpl
 
exception() - Method in interface org.sonar.plugins.python.api.tree.ExceptClause
 
exception() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
EXCEPTION - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
EXCEPTION_INSTANCE - org.sonar.plugins.python.api.symbols.Usage.Kind
 
exceptionInstance() - Method in interface org.sonar.plugins.python.api.tree.ExceptClause
 
exceptionInstance() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
EXCEPTIONS - Static variable in class org.sonar.python.semantic.BuiltinSymbols
See https://docs.python.org/3/library/exceptions.html
EXCEPTIONS_PYTHON2 - Static variable in class org.sonar.python.semantic.BuiltinSymbols
See https://docs.python.org/2.7/library/exceptions.html
exceptKeyword() - Method in interface org.sonar.plugins.python.api.tree.ExceptClause
 
exceptKeyword() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
EXEC_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
EXEC_STMT - org.sonar.python.api.PythonGrammar
 
execKeyword() - Method in interface org.sonar.plugins.python.api.tree.ExecStatement
 
execKeyword() - Method in class org.sonar.python.tree.ExecStatementImpl
 
execStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ExecStatement - Interface in org.sonar.plugins.python.api.tree
Python 2 only.
ExecStatementImpl - Class in org.sonar.python.tree
 
ExecStatementImpl(Token, Expression, Token, Expression, Token, Expression, Separators) - Constructor for class org.sonar.python.tree.ExecStatementImpl
 
ExecStatementImpl(Token, Expression, Separators) - Constructor for class org.sonar.python.tree.ExecStatementImpl
 
EXPR - org.sonar.python.api.PythonGrammar
 
expression() - Method in interface org.sonar.plugins.python.api.tree.AssignmentExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.AwaitExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.ExecStatement
 
expression() - Method in interface org.sonar.plugins.python.api.tree.FormattedExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.LambdaExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.ParenthesizedExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.RegularArgument
 
expression() - Method in interface org.sonar.plugins.python.api.tree.TypeAnnotation
 
expression() - Method in interface org.sonar.plugins.python.api.tree.UnaryExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.UnpackingExpression
 
expression() - Method in interface org.sonar.plugins.python.api.tree.WithItem
 
expression() - Method in class org.sonar.python.tree.AssignmentExpressionImpl
 
expression() - Method in class org.sonar.python.tree.AwaitExpressionImpl
 
expression() - Method in class org.sonar.python.tree.ExecStatementImpl
 
expression() - Method in class org.sonar.python.tree.FormattedExpressionImpl
 
expression() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
expression() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
expression() - Method in class org.sonar.python.tree.RegularArgumentImpl
 
expression() - Method in class org.sonar.python.tree.TypeAnnotationImpl
 
expression() - Method in class org.sonar.python.tree.UnaryExpressionImpl
 
expression() - Method in class org.sonar.python.tree.UnpackingExpressionImpl
 
expression() - Method in class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
expression(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
Expression - Interface in org.sonar.plugins.python.api.tree
 
EXPRESSION_LIST - org.sonar.plugins.python.api.tree.Tree.Kind
 
EXPRESSION_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
EXPRESSION_STMT - org.sonar.python.api.PythonGrammar
 
expressionList() - Method in interface org.sonar.plugins.python.api.tree.ReprExpression
 
expressionList() - Method in class org.sonar.python.tree.ReprExpressionImpl
 
ExpressionList - Interface in org.sonar.plugins.python.api.tree
Example:
ExpressionListImpl - Class in org.sonar.python.tree
 
ExpressionListImpl(List<Expression>, List<Token>) - Constructor for class org.sonar.python.tree.ExpressionListImpl
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.DelStatement
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.ExpressionList
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.ExpressionStatement
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.PrintStatement
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.RaiseStatement
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.ReturnStatement
 
expressions() - Method in interface org.sonar.plugins.python.api.tree.YieldExpression
 
expressions() - Method in class org.sonar.python.tree.DelStatementImpl
 
expressions() - Method in class org.sonar.python.tree.ExpressionListImpl
 
expressions() - Method in class org.sonar.python.tree.ExpressionStatementImpl
 
expressions() - Method in class org.sonar.python.tree.ForStatementImpl
 
expressions() - Method in class org.sonar.python.tree.PrintStatementImpl
 
expressions() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
expressions() - Method in class org.sonar.python.tree.ReturnStatementImpl
 
expressions() - Method in class org.sonar.python.tree.YieldExpressionImpl
 
expressions(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Expressions http://docs.python.org/reference/expressions.html
expressionStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ExpressionStatement - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-expression-stmt
ExpressionStatementImpl - Class in org.sonar.python.tree
 
ExpressionStatementImpl(List<Expression>, Separators) - Constructor for class org.sonar.python.tree.ExpressionStatementImpl
 
EXPRLIST - org.sonar.python.api.PythonGrammar
 
externalModulesSymbols() - Static method in class org.sonar.python.semantic.SymbolUtils
 
extractDocstring(StatementList) - Static method in class org.sonar.python.DocstringExtractor
 

F

F_STRING_CONTENT - org.sonar.python.api.PythonGrammar
 
FACTOR - org.sonar.python.api.PythonGrammar
 
falseExpression() - Method in interface org.sonar.plugins.python.api.tree.ConditionalExpression
 
falseExpression() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
falseSuccessor() - Method in interface org.sonar.plugins.python.api.cfg.CfgBranchingBlock
 
falseSuccessor() - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
FILE_INPUT - org.sonar.plugins.python.api.tree.Tree.Kind
 
FILE_INPUT - org.sonar.python.api.PythonGrammar
 
fileId() - Method in class org.sonar.plugins.python.api.IssueLocation
 
fileId() - Method in class org.sonar.plugins.python.api.LocationInFile
 
fileInput(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
FileInput - Interface in org.sonar.plugins.python.api.tree
Root of the AST.
FileInputImpl - Class in org.sonar.python.tree
 
FileInputImpl(StatementList, Token, StringLiteral) - Constructor for class org.sonar.python.tree.FileInputImpl
 
fileLinesVisitor() - Method in class org.sonar.python.metrics.FileMetrics
 
FileLinesVisitor - Class in org.sonar.python.metrics
Visitor that computes CoreMetrics.NCLOC_DATA_KEY and CoreMetrics.COMMENT_LINES metrics used by the DevCockpit.
FileLinesVisitor() - Constructor for class org.sonar.python.metrics.FileLinesVisitor
 
FileMetrics - Class in org.sonar.python.metrics
 
FileMetrics(PythonVisitorContext) - Constructor for class org.sonar.python.metrics.FileMetrics
 
fileName() - Method in interface org.sonar.plugins.python.api.PythonFile
 
fileName() - Method in class org.sonar.python.types.TypeShedPythonFile
 
FINALLY - org.sonar.python.api.PythonKeyword
 
FINALLY_CLAUSE - org.sonar.plugins.python.api.tree.Tree.Kind
 
finallyClause() - Method in interface org.sonar.plugins.python.api.tree.TryStatement
 
finallyClause() - Method in class org.sonar.python.tree.TryStatementImpl
 
FinallyClause - Interface in org.sonar.plugins.python.api.tree
FinallyClauseImpl - Class in org.sonar.python.tree
 
FinallyClauseImpl(Token, Token, Token, Token, StatementList, Token) - Constructor for class org.sonar.python.tree.FinallyClauseImpl
 
finallyKeyword() - Method in interface org.sonar.plugins.python.api.tree.FinallyClause
 
finallyKeyword() - Method in class org.sonar.python.tree.FinallyClauseImpl
 
firstAncestor(Tree, Predicate<Tree>) - Static method in class org.sonar.python.tree.TreeUtils
 
firstAncestorOfKind(Tree, Tree.Kind...) - Static method in class org.sonar.python.tree.TreeUtils
 
firstParameterOffset(FunctionSymbol, boolean) - Static method in class org.sonar.python.semantic.SymbolUtils
 
firstToken - Variable in class org.sonar.python.tree.PyTree
 
firstToken() - Method in interface org.sonar.plugins.python.api.tree.Tree
 
firstToken() - Method in class org.sonar.python.tree.PyTree
 
firstToken() - Method in class org.sonar.python.tree.StringElementImpl
 
firstToken() - Method in class org.sonar.python.tree.TokenImpl
 
flattenTuples(Expression) - Static method in class org.sonar.python.tree.TreeUtils
 
FLOAT - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
FLOAT - Static variable in class org.sonar.python.types.InferredTypes
 
FLOOR_DIVISION - org.sonar.plugins.python.api.tree.Tree.Kind
 
FOR - org.sonar.python.api.PythonKeyword
 
FOR_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
FOR_STMT - org.sonar.python.api.PythonGrammar
 
forKeyword() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
forKeyword() - Method in class org.sonar.python.tree.ForStatementImpl
 
FORMATTED_EXPR - org.sonar.python.api.PythonGrammar
 
FORMATTED_EXPRESSION - org.sonar.plugins.python.api.tree.Tree.Kind
 
FormattedExpression - Interface in org.sonar.plugins.python.api.tree
 
FormattedExpressionImpl - Class in org.sonar.python.tree
 
FormattedExpressionImpl(Expression, Token) - Constructor for class org.sonar.python.tree.FormattedExpressionImpl
 
formattedExpressions() - Method in interface org.sonar.plugins.python.api.tree.StringElement
 
formattedExpressions() - Method in class org.sonar.python.tree.StringElementImpl
 
forStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ForStatement - Interface in org.sonar.plugins.python.api.tree
ForStatementImpl - Class in org.sonar.python.tree
 
ForStatementImpl(Token, List<Expression>, Token, List<Expression>, Token, Token, Token, StatementList, Token, ElseClause, Token) - Constructor for class org.sonar.python.tree.ForStatementImpl
 
forToken() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionFor
 
forToken() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
FPDEF - org.sonar.python.api.PythonGrammar
 
FPLIST - org.sonar.python.api.PythonGrammar
 
FROM - org.sonar.python.api.PythonKeyword
 
fromExpression() - Method in interface org.sonar.plugins.python.api.tree.RaiseStatement
 
fromExpression() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
fromKeyword() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
fromKeyword() - Method in interface org.sonar.plugins.python.api.tree.RaiseStatement
 
fromKeyword() - Method in interface org.sonar.plugins.python.api.tree.YieldExpression
 
fromKeyword() - Method in class org.sonar.python.tree.ImportFromImpl
 
fromKeyword() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
fromKeyword() - Method in class org.sonar.python.tree.YieldExpressionImpl
 
FStringChannel - Class in org.sonar.python.lexer
A channel to handle the literal_char parts inside f-strings.
FStringChannel(LexerState) - Constructor for class org.sonar.python.lexer.FStringChannel
 
fStringExpressions(Token) - Method in class org.sonar.python.parser.FStringParser
 
fStringLexer(LexerState) - Static method in class org.sonar.python.lexer.PythonLexer
 
FStringParser - Class in org.sonar.python.parser
 
FStringParser() - Constructor for class org.sonar.python.parser.FStringParser
 
fullyQualifiedModuleName(String, String) - Static method in class org.sonar.python.semantic.SymbolUtils
 
fullyQualifiedName() - Method in interface org.sonar.plugins.python.api.symbols.Symbol
 
fullyQualifiedName() - Method in class org.sonar.python.semantic.SymbolImpl
 
FUN_RETURN_ANNOTATION - org.sonar.python.api.PythonGrammar
 
FUNC_DECLARATION - org.sonar.plugins.python.api.symbols.Usage.Kind
 
FUNCDEF - org.sonar.plugins.python.api.tree.Tree.Kind
 
FUNCDEF - org.sonar.python.api.PythonGrammar
 
funcDefStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
FUNCNAME - org.sonar.python.api.PythonGrammar
 
FUNCTION - org.sonar.plugins.python.api.symbols.Symbol.Kind
 
functionComplexities() - Method in class org.sonar.python.metrics.FileMetrics
 
FunctionDef - Interface in org.sonar.plugins.python.api.tree
FunctionDefImpl - Class in org.sonar.python.tree
 
FunctionDefImpl(List<Decorator>, Token, Token, Name, Token, ParameterList, Token, TypeAnnotation, Token, Token, Token, StatementList, Token, boolean, StringLiteral) - Constructor for class org.sonar.python.tree.FunctionDefImpl
 
FunctionLike - Interface in org.sonar.plugins.python.api.tree
Common interface for FunctionDef and LambdaExpression
FUNCTIONS - Static variable in class org.sonar.python.semantic.BuiltinSymbols
See https://docs.python.org/3/library/functions.html
FUNCTIONS_PYTHON2 - Static variable in class org.sonar.python.semantic.BuiltinSymbols
See https://docs.python.org/2.7/library/functions.html
functionSymbol() - Method in class org.sonar.python.tree.FunctionDefImpl
 
FunctionSymbol - Interface in org.sonar.plugins.python.api.symbols
 
FunctionSymbol.Parameter - Interface in org.sonar.plugins.python.api.symbols
 
FunctionSymbolImpl - Class in org.sonar.python.semantic
 
FunctionSymbolImpl(String, String, boolean, boolean, boolean, List<FunctionSymbol.Parameter>, List<String>) - Constructor for class org.sonar.python.semantic.FunctionSymbolImpl
 

G

gen - Variable in class org.sonar.python.cfg.fixpoint.CfgBlockState
variables that are being read in the block
GENERATOR_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
getCfg() - Method in class org.sonar.python.cfg.ControlFlowGraphBuilder
 
getCharset() - Method in class org.sonar.python.PythonConfiguration
 
getClassDefs() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
getClassSymbolFromDef(ClassDef) - Static method in class org.sonar.python.tree.TreeUtils
 
getCommentLineCount() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
getComplexity() - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
getComplexity() - Method in class org.sonar.python.metrics.ComplexityVisitor
 
getContext() - Method in class org.sonar.plugins.python.api.PythonVisitorCheck
 
getDefinedVariables(CfgBlock) - Method in class org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis
 
getExecutableLines() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
getFunctionSymbolFromDef(FunctionDef) - Static method in class org.sonar.python.tree.TreeUtils
 
getGen() - Method in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
getGrammar() - Method in class org.sonar.python.parser.PythonParser
 
getIn() - Method in class org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.DefinedVariables
 
getIn() - Method in class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis.LiveVariables
 
getIssues() - Method in class org.sonar.plugins.python.api.PythonVisitorContext
 
getKill() - Method in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
getKind() - Method in interface org.sonar.plugins.python.api.tree.Tree
 
getKind() - Method in class org.sonar.python.tree.AliasedNameImpl
 
getKind() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
getKind() - Method in class org.sonar.python.tree.ArgListImpl
 
getKind() - Method in class org.sonar.python.tree.AssertStatementImpl
 
getKind() - Method in class org.sonar.python.tree.AssignmentExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
getKind() - Method in class org.sonar.python.tree.AwaitExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.BreakStatementImpl
 
getKind() - Method in class org.sonar.python.tree.CallExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ClassDefImpl
 
getKind() - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
getKind() - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
getKind() - Method in class org.sonar.python.tree.ComprehensionIfImpl
 
getKind() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ContinueStatementImpl
 
getKind() - Method in class org.sonar.python.tree.DecoratorImpl
 
getKind() - Method in class org.sonar.python.tree.DelStatementImpl
 
getKind() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.DictionaryLiteralImpl
 
getKind() - Method in class org.sonar.python.tree.DottedNameImpl
 
getKind() - Method in class org.sonar.python.tree.EllipsisExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ElseClauseImpl
 
getKind() - Method in class org.sonar.python.tree.ExceptClauseImpl
 
getKind() - Method in class org.sonar.python.tree.ExecStatementImpl
 
getKind() - Method in class org.sonar.python.tree.ExpressionListImpl
 
getKind() - Method in class org.sonar.python.tree.ExpressionStatementImpl
 
getKind() - Method in class org.sonar.python.tree.FileInputImpl
 
getKind() - Method in class org.sonar.python.tree.FinallyClauseImpl
 
getKind() - Method in class org.sonar.python.tree.FormattedExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ForStatementImpl
 
getKind() - Method in class org.sonar.python.tree.FunctionDefImpl
 
getKind() - Method in class org.sonar.python.tree.GlobalStatementImpl
 
getKind() - Method in class org.sonar.python.tree.IfStatementImpl
 
getKind() - Method in class org.sonar.python.tree.ImportFromImpl
 
getKind() - Method in class org.sonar.python.tree.ImportNameImpl
 
getKind() - Method in class org.sonar.python.tree.InExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.IsExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.KeyValuePairImpl
 
getKind() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ListLiteralImpl
 
getKind() - Method in class org.sonar.python.tree.NameImpl
 
getKind() - Method in class org.sonar.python.tree.NoneExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.NonlocalStatementImpl
 
getKind() - Method in class org.sonar.python.tree.NumericLiteralImpl
 
getKind() - Method in class org.sonar.python.tree.ParameterImpl
 
getKind() - Method in class org.sonar.python.tree.ParameterListImpl
 
getKind() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.PassStatementImpl
 
getKind() - Method in class org.sonar.python.tree.PrintStatementImpl
 
getKind() - Method in class org.sonar.python.tree.QualifiedExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
getKind() - Method in class org.sonar.python.tree.RegularArgumentImpl
 
getKind() - Method in class org.sonar.python.tree.ReprExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.ReturnStatementImpl
 
getKind() - Method in class org.sonar.python.tree.SetLiteralImpl
 
getKind() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.SliceItemImpl
 
getKind() - Method in class org.sonar.python.tree.SliceListImpl
 
getKind() - Method in class org.sonar.python.tree.StatementListImpl
 
getKind() - Method in class org.sonar.python.tree.StringElementImpl
 
getKind() - Method in class org.sonar.python.tree.StringLiteralImpl
 
getKind() - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.TokenImpl
 
getKind() - Method in class org.sonar.python.tree.TryStatementImpl
 
getKind() - Method in class org.sonar.python.tree.TupleImpl
 
getKind() - Method in class org.sonar.python.tree.TupleParameterImpl
 
getKind() - Method in class org.sonar.python.tree.TypeAnnotationImpl
 
getKind() - Method in class org.sonar.python.tree.UnaryExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.UnpackingExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.WhileStatementImpl
 
getKind() - Method in class org.sonar.python.tree.WithStatementImpl
 
getKind() - Method in class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
getKind() - Method in class org.sonar.python.tree.YieldExpressionImpl
 
getKind() - Method in class org.sonar.python.tree.YieldStatementImpl
 
getLinesOfCode() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
getLinesWithNoSonar() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
getLiveVariables(CfgBlock) - Method in class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis
 
getName() - Method in enum org.sonar.python.api.PythonKeyword
 
getName() - Method in enum org.sonar.python.api.PythonPunctuator
 
getName() - Method in enum org.sonar.python.api.PythonTokenType
 
getOut() - Method in class org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.DefinedVariables
 
getOut() - Method in class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis.LiveVariables
 
getReadSymbols() - Method in class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis
 
getRootRule() - Method in class org.sonar.python.parser.PythonParser
 
getStatements() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
getSymbolFromTree(Tree) - Static method in class org.sonar.python.tree.TreeUtils
 
getSymbolReadWrites(Tree) - Method in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
getValue() - Method in enum org.sonar.python.api.PythonKeyword
 
getValue() - Method in enum org.sonar.python.api.PythonPunctuator
 
getValue() - Method in enum org.sonar.python.api.PythonTokenType
 
GLOBAL - org.sonar.python.api.PythonKeyword
 
GLOBAL_DECLARATION - org.sonar.plugins.python.api.symbols.Usage.Kind
 
GLOBAL_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
GLOBAL_STMT - org.sonar.python.api.PythonGrammar
 
globalKeyword() - Method in interface org.sonar.plugins.python.api.tree.GlobalStatement
 
globalKeyword() - Method in class org.sonar.python.tree.GlobalStatementImpl
 
globalsExpression() - Method in interface org.sonar.plugins.python.api.tree.ExecStatement
 
globalsExpression() - Method in class org.sonar.python.tree.ExecStatementImpl
 
globalStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
GlobalStatement - Interface in org.sonar.plugins.python.api.tree
GlobalStatementImpl - Class in org.sonar.python.tree
 
GlobalStatementImpl(Token, List<Name>, Separators) - Constructor for class org.sonar.python.tree.GlobalStatementImpl
 
globalSymbols(List<File>, File) - Static method in class org.sonar.python.TestPythonVisitorRunner
 
globalSymbols(FileInput, String, PythonFile) - Static method in class org.sonar.python.semantic.SymbolUtils
 
globalVariables() - Method in interface org.sonar.plugins.python.api.tree.FileInput
 
globalVariables() - Method in class org.sonar.python.tree.FileInputImpl
 
grammar(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
 
GT - org.sonar.python.api.PythonPunctuator
 
GT_EQU - org.sonar.python.api.PythonPunctuator
 

H

hasDecorators() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
 
hasDecorators() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
hasDefaultValue() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
hasDescendant(Tree, Predicate<Tree>) - Static method in class org.sonar.python.tree.TreeUtils
 
HasSymbol - Interface in org.sonar.plugins.python.api.tree
 
hasToBeSkippedFromAst(AstNode) - Method in enum org.sonar.python.api.PythonKeyword
 
hasToBeSkippedFromAst(AstNode) - Method in enum org.sonar.python.api.PythonPunctuator
 
hasToBeSkippedFromAst(AstNode) - Method in enum org.sonar.python.api.PythonTokenType
 
HasTypeDependencies - Interface in org.sonar.python.types
 
hasUnresolvedTypeHierarchy() - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
hasUnresolvedTypeHierarchy() - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
hasUnresolvedTypeHierarchy(boolean) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
hasUnresolvedWildcardImport() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
hasUnresolvedWildcardImport() - Method in class org.sonar.python.tree.ImportFromImpl
 
hasVariadicParameter() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
 
hasVariadicParameter() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 

I

IF - org.sonar.python.api.PythonKeyword
 
IF_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
IF_STMT - org.sonar.python.api.PythonGrammar
 
ifKeyword() - Method in interface org.sonar.plugins.python.api.tree.ConditionalExpression
 
ifKeyword() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
ifStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
IfStatement - Interface in org.sonar.plugins.python.api.tree
if-elif-else statement.
IfStatementImpl - Class in org.sonar.python.tree
 
IfStatementImpl(Token, Expression, Token, Token, Token, StatementList, Token) - Constructor for class org.sonar.python.tree.IfStatementImpl
Elif statement constructor
IfStatementImpl(Token, Expression, Token, Token, Token, StatementList, Token, List<IfStatement>, ElseClause) - Constructor for class org.sonar.python.tree.IfStatementImpl
If statement constructor
ifToken() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionIf
 
ifToken() - Method in class org.sonar.python.tree.ComprehensionIfImpl
 
IMPORT - org.sonar.plugins.python.api.symbols.Usage.Kind
 
IMPORT - org.sonar.python.api.PythonKeyword
 
IMPORT_AS_NAME - org.sonar.python.api.PythonGrammar
 
IMPORT_AS_NAMES - org.sonar.python.api.PythonGrammar
 
IMPORT_FROM - org.sonar.plugins.python.api.tree.Tree.Kind
 
IMPORT_FROM - org.sonar.python.api.PythonGrammar
 
IMPORT_NAME - org.sonar.plugins.python.api.tree.Tree.Kind
 
IMPORT_NAME - org.sonar.python.api.PythonGrammar
 
IMPORT_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
IMPORT_STMT - org.sonar.python.api.PythonGrammar
 
importedNames() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
importedNames() - Method in class org.sonar.python.tree.ImportFromImpl
 
ImportFrom - Interface in org.sonar.plugins.python.api.tree
Import From statement
ImportFromImpl - Class in org.sonar.python.tree
 
ImportFromImpl(Token, List<Token>, DottedName, Token, List<AliasedName>, Token, Separators) - Constructor for class org.sonar.python.tree.ImportFromImpl
 
importKeyword() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
importKeyword() - Method in interface org.sonar.plugins.python.api.tree.ImportName
 
importKeyword() - Method in class org.sonar.python.tree.ImportFromImpl
 
importKeyword() - Method in class org.sonar.python.tree.ImportNameImpl
 
ImportName - Interface in org.sonar.plugins.python.api.tree
Import statement
ImportNameImpl - Class in org.sonar.python.tree
 
ImportNameImpl(Token, List<AliasedName>, Separators) - Constructor for class org.sonar.python.tree.ImportNameImpl
 
importStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ImportStatement - Interface in org.sonar.plugins.python.api.tree
Import statement See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-import-stmt
IN - org.sonar.plugins.python.api.tree.Tree.Kind
 
IN - org.sonar.python.api.PythonKeyword
 
INDENT - org.sonar.python.api.PythonTokenType
 
IndentationChannel - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#indentation
IndentationChannel(LexerState) - Constructor for class org.sonar.python.lexer.IndentationChannel
 
indentationStack - Variable in class org.sonar.python.lexer.LexerState
 
InExpression - Interface in org.sonar.plugins.python.api.tree
InExpressionImpl - Class in org.sonar.python.tree
 
InExpressionImpl(Expression, Token, Token, Expression) - Constructor for class org.sonar.python.tree.InExpressionImpl
 
inferredType() - Method in class org.sonar.python.semantic.SymbolImpl
 
InferredType - Interface in org.sonar.plugins.python.api.types
 
InferredTypes - Class in org.sonar.python.types
 
inferTypes(FileInput) - Static method in class org.sonar.python.types.TypeInference
 
init(CfgBlock) - Method in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
initialize(SubscriptionCheck.Context) - Method in interface org.sonar.plugins.python.api.SubscriptionCheck
 
initialize(SubscriptionCheck.Context) - Method in class org.sonar.python.metrics.FileLinesVisitor
 
inKeyword() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
inKeyword() - Method in class org.sonar.python.tree.ForStatementImpl
 
instanceFields() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
instanceFields() - Method in class org.sonar.python.tree.ClassDefImpl
 
INT - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
INT - Static variable in class org.sonar.python.types.InferredTypes
 
interpolatedExpressions() - Method in interface org.sonar.plugins.python.api.tree.StringElement
Deprecated.
interpolatedExpressions() - Method in class org.sonar.python.tree.StringElementImpl
 
inToken() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionFor
 
inToken() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
is(Symbol.Kind...) - Method in interface org.sonar.plugins.python.api.symbols.Symbol
 
is(Symbol.Kind...) - Method in class org.sonar.python.semantic.SymbolImpl
 
is(Tree.Kind...) - Method in interface org.sonar.plugins.python.api.tree.Tree
 
is(Tree.Kind...) - Method in class org.sonar.python.tree.PyTree
 
IS - org.sonar.plugins.python.api.tree.Tree.Kind
 
IS - org.sonar.python.api.PythonKeyword
 
isAsync() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
isAsync() - Method in interface org.sonar.plugins.python.api.tree.WithStatement
 
isAsync() - Method in class org.sonar.python.tree.ForStatementImpl
 
isAsync() - Method in class org.sonar.python.tree.WithStatementImpl
 
isBindingUsage() - Method in interface org.sonar.plugins.python.api.symbols.Usage
 
isBooleanLiteral(Tree) - Static method in class org.sonar.python.tree.TreeUtils
 
isCompatibleWith(InferredType) - Method in interface org.sonar.plugins.python.api.types.InferredType
 
isElif() - Method in interface org.sonar.plugins.python.api.tree.IfStatement
 
isElif() - Method in class org.sonar.python.tree.IfStatementImpl
 
isEmptyBlock() - Method in class org.sonar.python.cfg.PythonCfgBlock
 
IsExpression - Interface in org.sonar.plugins.python.api.tree
IsExpressionImpl - Class in org.sonar.python.tree
 
IsExpressionImpl(Expression, Token, Token, Expression) - Constructor for class org.sonar.python.tree.IsExpressionImpl
 
isIdentityComparableWith(InferredType) - Method in interface org.sonar.plugins.python.api.types.InferredType
 
isInstanceMethod() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
 
isInstanceMethod() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
isInterpolated() - Method in interface org.sonar.plugins.python.api.tree.StringElement
 
isInterpolated() - Method in class org.sonar.python.tree.StringElementImpl
 
isKeywordOnly() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
isMethodDefinition() - Method in interface org.sonar.plugins.python.api.tree.FunctionLike
 
isMethodDefinition() - Method in class org.sonar.python.tree.FunctionDefImpl
 
isMethodDefinition() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
isOrExtends(String) - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
isOrExtends(String) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
isOrExtends(ClassSymbol) - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
isOrExtends(ClassSymbol) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
isPositionalOnly() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
isRead() - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor.SymbolReadWrite
 
isStub() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
When true, it denotes a function symbol for a function stub.
isStub() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
IssueLocation - Class in org.sonar.plugins.python.api
 
isSymbolUsedInBlock(Symbol) - Method in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
isTripleQuoted() - Method in interface org.sonar.plugins.python.api.tree.StringElement
 
isTripleQuoted() - Method in class org.sonar.python.tree.StringElementImpl
 
isTypeShedFile(PythonFile) - Static method in class org.sonar.python.semantic.SymbolUtils
 
isVariable() - Method in interface org.sonar.plugins.python.api.tree.Name
 
isVariable() - Method in class org.sonar.python.tree.NameImpl
 
isVariadic() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
isWildcardImport() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
isWildcardImport() - Method in class org.sonar.python.tree.ImportFromImpl
 
isWrite() - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor.SymbolReadWrite
 
iterable() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionFor
 
iterable() - Method in class org.sonar.python.tree.ComprehensionForImpl
 

K

key() - Method in interface org.sonar.plugins.python.api.tree.KeyValuePair
 
key() - Method in class org.sonar.python.tree.KeyValuePairImpl
 
KEY_VALUE_PAIR - org.sonar.plugins.python.api.tree.Tree.Kind
 
keyExpression() - Method in interface org.sonar.plugins.python.api.tree.DictCompExpression
 
keyExpression() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
KeyValuePair - Interface in org.sonar.plugins.python.api.tree
KeyValuePairImpl - Class in org.sonar.python.tree
 
KeyValuePairImpl(Expression, Token, Expression) - Constructor for class org.sonar.python.tree.KeyValuePairImpl
 
keyword() - Method in interface org.sonar.plugins.python.api.tree.IfStatement
 
keyword() - Method in class org.sonar.python.tree.IfStatementImpl
 
keywordArgument() - Method in interface org.sonar.plugins.python.api.tree.RegularArgument
 
keywordArgument() - Method in class org.sonar.python.tree.RegularArgumentImpl
 
keywordValues() - Static method in enum org.sonar.python.api.PythonKeyword
 
kill - Variable in class org.sonar.python.cfg.fixpoint.CfgBlockState
variables that are being written in the block
kind() - Method in interface org.sonar.plugins.python.api.symbols.Symbol
 
kind() - Method in interface org.sonar.plugins.python.api.symbols.Usage
 
kind() - Method in class org.sonar.python.semantic.SymbolImpl
 
kind() - Method in class org.sonar.python.semantic.UsageImpl
 

L

LAMBDA - org.sonar.plugins.python.api.tree.Tree.Kind
 
LAMBDA - org.sonar.python.api.PythonKeyword
 
lambdaExpression(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
LambdaExpression - Interface in org.sonar.plugins.python.api.tree
LambdaExpressionImpl - Class in org.sonar.python.tree
 
LambdaExpressionImpl(Token, Token, Expression, ParameterList) - Constructor for class org.sonar.python.tree.LambdaExpressionImpl
 
lambdaKeyword() - Method in interface org.sonar.plugins.python.api.tree.LambdaExpression
 
lambdaKeyword() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
LAMBDEF - org.sonar.python.api.PythonGrammar
 
LAMBDEF_NOCOND - org.sonar.python.api.PythonGrammar
 
last() - Method in class org.sonar.python.tree.Separators
 
lastToken - Variable in class org.sonar.python.tree.PyTree
 
lastToken() - Method in interface org.sonar.plugins.python.api.tree.Tree
 
lastToken() - Method in class org.sonar.python.tree.PyTree
 
lastToken() - Method in class org.sonar.python.tree.SimpleStatement
 
lastToken() - Method in class org.sonar.python.tree.StringElementImpl
 
lastToken() - Method in class org.sonar.python.tree.TokenImpl
 
LBRACKET - org.sonar.python.api.PythonPunctuator
 
lCurlyBrace() - Method in interface org.sonar.plugins.python.api.tree.DictionaryLiteral
 
lCurlyBrace() - Method in interface org.sonar.plugins.python.api.tree.SetLiteral
 
lCurlyBrace() - Method in class org.sonar.python.tree.DictOrSetLiteralImpl
 
LCURLYBRACE - org.sonar.python.api.PythonPunctuator
 
leaveFile() - Method in class org.sonar.plugins.python.api.PythonSubscriptionCheck
 
leaveFile() - Method in class org.sonar.python.metrics.FileLinesVisitor
 
LEFT_ASSIGN - org.sonar.python.api.PythonPunctuator
 
LEFT_OP - org.sonar.python.api.PythonPunctuator
 
leftBracket() - Method in interface org.sonar.plugins.python.api.tree.ListLiteral
 
leftBracket() - Method in interface org.sonar.plugins.python.api.tree.SliceExpression
 
leftBracket() - Method in interface org.sonar.plugins.python.api.tree.SubscriptionExpression
 
leftBracket() - Method in class org.sonar.python.tree.ListLiteralImpl
 
leftBracket() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
leftBracket() - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
leftOperand() - Method in interface org.sonar.plugins.python.api.tree.BinaryExpression
 
leftOperand() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
leftPar() - Method in interface org.sonar.plugins.python.api.tree.CallExpression
 
leftPar() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
leftPar() - Method in interface org.sonar.plugins.python.api.tree.Decorator
 
leftPar() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
leftPar() - Method in class org.sonar.python.tree.CallExpressionImpl
 
leftPar() - Method in class org.sonar.python.tree.ClassDefImpl
 
leftPar() - Method in class org.sonar.python.tree.DecoratorImpl
 
leftPar() - Method in class org.sonar.python.tree.FunctionDefImpl
 
leftParenthesis() - Method in interface org.sonar.plugins.python.api.tree.ParenthesizedExpression
 
leftParenthesis() - Method in interface org.sonar.plugins.python.api.tree.Tuple
 
leftParenthesis() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
leftParenthesis() - Method in class org.sonar.python.tree.TupleImpl
 
LexerState - Class in org.sonar.python.lexer
 
LexerState() - Constructor for class org.sonar.python.lexer.LexerState
 
lhsExpression() - Method in interface org.sonar.plugins.python.api.tree.CompoundAssignmentStatement
 
lhsExpression() - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
lhsExpressions() - Method in interface org.sonar.plugins.python.api.tree.AssignmentStatement
 
lhsExpressions() - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
lhsName() - Method in interface org.sonar.plugins.python.api.tree.AssignmentExpression
 
lhsName() - Method in class org.sonar.python.tree.AssignmentExpressionImpl
 
line() - Method in interface org.sonar.plugins.python.api.tree.Token
 
line() - Method in class org.sonar.python.tree.TokenImpl
 
LIST - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
LIST - Static variable in class org.sonar.python.types.InferredTypes
 
LIST_COMPREHENSION - org.sonar.plugins.python.api.tree.Tree.Kind
 
LIST_LITERAL - org.sonar.plugins.python.api.tree.Tree.Kind
 
ListLiteral - Interface in org.sonar.plugins.python.api.tree
ListLiteralImpl - Class in org.sonar.python.tree
 
ListLiteralImpl(Token, ExpressionList, Token) - Constructor for class org.sonar.python.tree.ListLiteralImpl
 
LiveVariablesAnalysis - Class in org.sonar.python.cfg.fixpoint
 
LiveVariablesAnalysis() - Constructor for class org.sonar.python.cfg.fixpoint.LiveVariablesAnalysis
 
LiveVariablesAnalysis.LiveVariables - Class in org.sonar.python.cfg.fixpoint
 
localsExpression() - Method in interface org.sonar.plugins.python.api.tree.ExecStatement
 
localsExpression() - Method in class org.sonar.python.tree.ExecStatementImpl
 
localVariables() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionExpression
local variables are following python3 scoping rules for comprehension expressions.
localVariables() - Method in interface org.sonar.plugins.python.api.tree.DictCompExpression
 
localVariables() - Method in interface org.sonar.plugins.python.api.tree.FunctionLike
 
localVariables() - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
localVariables() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
localVariables() - Method in class org.sonar.python.tree.FunctionDefImpl
 
localVariables() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
location() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
locationInFile(Tree, String) - Static method in class org.sonar.python.tree.TreeUtils
 
LocationInFile - Class in org.sonar.plugins.python.api
 
LocationInFile(String, int, int, int, int) - Constructor for class org.sonar.plugins.python.api.LocationInFile
 
LOOP_DECLARATION - org.sonar.plugins.python.api.symbols.Usage.Kind
 
loopExpression() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionFor
 
loopExpression() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
lowerBound() - Method in interface org.sonar.plugins.python.api.tree.SliceItem
 
lowerBound() - Method in class org.sonar.python.tree.SliceItemImpl
 
LPARENTHESIS - org.sonar.python.api.PythonPunctuator
 
LT - org.sonar.python.api.PythonPunctuator
 
LT_EQU - org.sonar.python.api.PythonPunctuator
 

M

M_EXPR - org.sonar.python.api.PythonGrammar
 
MATRIX_MULT_ASSIGN - org.sonar.python.api.PythonPunctuator
 
MATRIX_MULTIPLICATION - org.sonar.plugins.python.api.tree.Tree.Kind
 
message() - Method in class org.sonar.plugins.python.api.IssueLocation
 
message() - Method in interface org.sonar.plugins.python.api.tree.AssertStatement
 
message() - Method in class org.sonar.python.tree.AssertStatementImpl
 
MINUS - org.sonar.plugins.python.api.tree.Tree.Kind
 
MINUS - org.sonar.python.api.PythonPunctuator
 
MINUS_ASSIGN - org.sonar.python.api.PythonPunctuator
 
MOD - org.sonar.python.api.PythonPunctuator
 
MOD_ASSIGN - org.sonar.python.api.PythonPunctuator
 
module() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
module() - Method in class org.sonar.python.tree.ImportFromImpl
 
MODULE_ATTRIBUTES - Static variable in class org.sonar.python.semantic.BuiltinSymbols
See https://docs.python.org/3/reference/import.html?highlight=__package__#import-related-module-attributes
modules() - Method in interface org.sonar.plugins.python.api.tree.ImportName
 
modules() - Method in class org.sonar.python.tree.ImportNameImpl
 
MODULO - org.sonar.plugins.python.api.tree.Tree.Kind
 
MUL - org.sonar.python.api.PythonPunctuator
 
MUL_ASSIGN - org.sonar.python.api.PythonPunctuator
 
MUL_MUL - org.sonar.python.api.PythonPunctuator
 
MUL_MUL_ASSIGN - org.sonar.python.api.PythonPunctuator
 
MULTIPLICATION - org.sonar.plugins.python.api.tree.Tree.Kind
 

N

name() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol.Parameter
 
name() - Method in interface org.sonar.plugins.python.api.symbols.Symbol
 
name() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
name() - Method in interface org.sonar.plugins.python.api.tree.Decorator
 
name() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
name() - Method in interface org.sonar.plugins.python.api.tree.Name
 
name() - Method in interface org.sonar.plugins.python.api.tree.Parameter
 
name() - Method in interface org.sonar.plugins.python.api.tree.QualifiedExpression
 
name() - Method in class org.sonar.python.semantic.SymbolImpl
 
name() - Method in class org.sonar.python.tree.ClassDefImpl
 
name() - Method in class org.sonar.python.tree.DecoratorImpl
 
name() - Method in class org.sonar.python.tree.FunctionDefImpl
 
name() - Method in class org.sonar.python.tree.NameImpl
 
name() - Method in class org.sonar.python.tree.ParameterImpl
 
name() - Method in class org.sonar.python.tree.QualifiedExpressionImpl
 
Name - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/expressions.html#atom-identifiers
NAME - org.sonar.plugins.python.api.tree.Tree.Kind
 
NAME - org.sonar.python.api.PythonGrammar
 
NAMED_EXPR_TEST - org.sonar.python.api.PythonGrammar
 
NameImpl - Class in org.sonar.python.tree
 
NameImpl(Token, boolean) - Constructor for class org.sonar.python.tree.NameImpl
 
names() - Method in interface org.sonar.plugins.python.api.tree.DottedName
 
names() - Method in class org.sonar.python.tree.DottedNameImpl
 
nestedClause() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionClause
 
nestedClause() - Method in class org.sonar.python.tree.ComprehensionForImpl
 
nestedClause() - Method in class org.sonar.python.tree.ComprehensionIfImpl
 
NEWLINE - org.sonar.python.api.PythonTokenType
 
NewLineChannel - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#explicit-line-joining http://docs.python.org/reference/lexical_analysis.html#implicit-line-joining http://docs.python.org/reference/lexical_analysis.html#blank-lines
NewLineChannel(LexerState) - Constructor for class org.sonar.python.lexer.NewLineChannel
 
none() - Method in interface org.sonar.plugins.python.api.tree.NoneExpression
 
none() - Method in class org.sonar.python.tree.NoneExpressionImpl
 
NONE - org.sonar.plugins.python.api.tree.Tree.Kind
 
NONE - org.sonar.python.api.PythonKeyword
 
NONE - Static variable in class org.sonar.python.types.InferredTypes
 
NONE_TYPE - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
NoneExpression - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/library/constants.html#None
NoneExpressionImpl - Class in org.sonar.python.tree
 
NoneExpressionImpl(Token) - Constructor for class org.sonar.python.tree.NoneExpressionImpl
 
NONLOCAL - org.sonar.python.api.PythonKeyword
 
NONLOCAL_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
NONLOCAL_STMT - org.sonar.python.api.PythonGrammar
 
nonlocalKeyword() - Method in interface org.sonar.plugins.python.api.tree.NonlocalStatement
 
nonlocalKeyword() - Method in class org.sonar.python.tree.NonlocalStatementImpl
 
nonlocalStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
NonlocalStatement - Interface in org.sonar.plugins.python.api.tree
NonlocalStatementImpl - Class in org.sonar.python.tree
 
NonlocalStatementImpl(Token, List<Name>, Separators) - Constructor for class org.sonar.python.tree.NonlocalStatementImpl
 
nonTuple() - Method in interface org.sonar.plugins.python.api.tree.ParameterList
Note that tuple in parameters are allowed only in Python 2.
nonTuple() - Method in class org.sonar.python.tree.ParameterListImpl
 
nonTupleParameters(FunctionDef) - Static method in class org.sonar.python.tree.TreeUtils
 
nonWhitespaceTokens(Tree) - Static method in class org.sonar.python.tree.TreeUtils
 
NOT - org.sonar.plugins.python.api.tree.Tree.Kind
 
NOT - org.sonar.python.api.PythonKeyword
 
NOT_EQU - org.sonar.python.api.PythonPunctuator
 
NOT_EQU2 - org.sonar.python.api.PythonPunctuator
 
NOT_TEST - org.sonar.python.api.PythonGrammar
 
notToken() - Method in interface org.sonar.plugins.python.api.tree.InExpression
 
notToken() - Method in interface org.sonar.plugins.python.api.tree.IsExpression
 
notToken() - Method in class org.sonar.python.tree.InExpressionImpl
 
notToken() - Method in class org.sonar.python.tree.IsExpressionImpl
 
nthArgumentOrKeyword(int, String, List<Argument>) - Static method in class org.sonar.python.tree.TreeUtils
 
NUMBER - org.sonar.python.api.PythonTokenType
 
numberOfClasses() - Method in class org.sonar.python.metrics.FileMetrics
 
numberOfFunctions() - Method in class org.sonar.python.metrics.FileMetrics
 
numberOfStatements() - Method in class org.sonar.python.metrics.FileMetrics
 
NUMERIC_LITERAL - org.sonar.plugins.python.api.tree.Tree.Kind
 
NumericLiteral - Interface in org.sonar.plugins.python.api.tree
 
NumericLiteralImpl - Class in org.sonar.python.tree
 

O

object() - Method in interface org.sonar.plugins.python.api.tree.SliceExpression
 
object() - Method in interface org.sonar.plugins.python.api.tree.SubscriptionExpression
 
object() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
object() - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
openingBacktick() - Method in interface org.sonar.plugins.python.api.tree.ReprExpression
 
openingBacktick() - Method in class org.sonar.python.tree.ReprExpressionImpl
 
openingParenthesis() - Method in interface org.sonar.plugins.python.api.tree.TupleParameter
 
openingParenthesis() - Method in class org.sonar.python.tree.TupleParameterImpl
 
operator() - Method in interface org.sonar.plugins.python.api.tree.AssignmentExpression
 
operator() - Method in interface org.sonar.plugins.python.api.tree.BinaryExpression
 
operator() - Method in interface org.sonar.plugins.python.api.tree.UnaryExpression
 
operator() - Method in class org.sonar.python.tree.AssignmentExpressionImpl
 
operator() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
operator() - Method in class org.sonar.python.tree.UnaryExpressionImpl
 
or(InferredType, InferredType) - Static method in class org.sonar.python.types.InferredTypes
 
OR - org.sonar.plugins.python.api.tree.Tree.Kind
 
OR - org.sonar.python.api.PythonKeyword
Logical OR.
OR - org.sonar.python.api.PythonPunctuator
Bitwise OR.
OR_ASSIGN - org.sonar.python.api.PythonPunctuator
 
OR_EXPR - org.sonar.python.api.PythonGrammar
 
OR_TEST - org.sonar.python.api.PythonGrammar
 
org.sonar.plugins.python.api - package org.sonar.plugins.python.api
 
org.sonar.plugins.python.api.cfg - package org.sonar.plugins.python.api.cfg
 
org.sonar.plugins.python.api.symbols - package org.sonar.plugins.python.api.symbols
 
org.sonar.plugins.python.api.tree - package org.sonar.plugins.python.api.tree
 
org.sonar.plugins.python.api.types - package org.sonar.plugins.python.api.types
 
org.sonar.python - package org.sonar.python
 
org.sonar.python.api - package org.sonar.python.api
 
org.sonar.python.cfg - package org.sonar.python.cfg
 
org.sonar.python.cfg.fixpoint - package org.sonar.python.cfg.fixpoint
 
org.sonar.python.lexer - package org.sonar.python.lexer
 
org.sonar.python.metrics - package org.sonar.python.metrics
 
org.sonar.python.parser - package org.sonar.python.parser
 
org.sonar.python.semantic - package org.sonar.python.semantic
 
org.sonar.python.tree - package org.sonar.python.tree
 
org.sonar.python.types - package org.sonar.python.types
 
OTHER - org.sonar.plugins.python.api.symbols.Symbol.Kind
 
OTHER - org.sonar.plugins.python.api.symbols.Usage.Kind
 
owner() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 

P

Parameter - Interface in org.sonar.plugins.python.api.tree
PARAMETER - org.sonar.plugins.python.api.symbols.Usage.Kind
 
PARAMETER - org.sonar.plugins.python.api.tree.Tree.Kind
 
PARAMETER_LIST - org.sonar.plugins.python.api.tree.Tree.Kind
 
PARAMETER_TYPE_ANNOTATION - org.sonar.plugins.python.api.tree.Tree.Kind
 
ParameterImpl - Class in org.sonar.python.tree
 
ParameterImpl(Token) - Constructor for class org.sonar.python.tree.ParameterImpl
constructor for star parameter syntax.
ParameterImpl(Token, Name, TypeAnnotation, Token, Expression) - Constructor for class org.sonar.python.tree.ParameterImpl
 
ParameterList - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/compound_stmts.html#grammar-token-parameter-list
ParameterListImpl - Class in org.sonar.python.tree
 
ParameterListImpl(List<AnyParameter>, List<Token>) - Constructor for class org.sonar.python.tree.ParameterListImpl
 
parameters() - Method in interface org.sonar.plugins.python.api.symbols.FunctionSymbol
 
parameters() - Method in interface org.sonar.plugins.python.api.tree.FunctionLike
 
parameters() - Method in interface org.sonar.plugins.python.api.tree.TupleParameter
 
parameters() - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
parameters() - Method in class org.sonar.python.tree.FunctionDefImpl
 
parameters() - Method in class org.sonar.python.tree.LambdaExpressionImpl
 
parameters() - Method in class org.sonar.python.tree.TupleParameterImpl
 
parent() - Method in interface org.sonar.plugins.python.api.tree.Tree
 
parent() - Method in class org.sonar.python.tree.PyTree
 
PARENTHESIZED - org.sonar.plugins.python.api.tree.Tree.Kind
 
ParenthesizedExpression - Interface in org.sonar.plugins.python.api.tree
ParenthesizedExpressionImpl - Class in org.sonar.python.tree
 
ParenthesizedExpressionImpl(Token, Expression, Token) - Constructor for class org.sonar.python.tree.ParenthesizedExpressionImpl
 
parse(String) - Method in class org.sonar.plugins.python.api.Parser
 
parse(String) - Method in class org.sonar.python.parser.PythonParser
 
Parser - Class in org.sonar.plugins.python.api
Use this class to parse Python module
Parser() - Constructor for class org.sonar.plugins.python.api.Parser
 
parsingException() - Method in class org.sonar.plugins.python.api.PythonVisitorContext
 
PASS - org.sonar.python.api.PythonKeyword
 
PASS_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
PASS_STMT - org.sonar.python.api.PythonGrammar
 
passKeyword() - Method in interface org.sonar.plugins.python.api.tree.PassStatement
 
passKeyword() - Method in class org.sonar.python.tree.PassStatementImpl
 
passStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
PassStatement - Interface in org.sonar.plugins.python.api.tree
https://docs.python.org/3/reference/simple_stmts.html#grammar-token-pass-stmt
PassStatementImpl - Class in org.sonar.python.tree
 
PassStatementImpl(Token, Separators) - Constructor for class org.sonar.python.tree.PassStatementImpl
 
pathOf(PythonFile) - Static method in class org.sonar.python.semantic.SymbolUtils
 
PLUS - org.sonar.plugins.python.api.tree.Tree.Kind
 
PLUS - org.sonar.python.api.PythonPunctuator
 
PLUS_ASSIGN - org.sonar.python.api.PythonPunctuator
 
positionalParameters(FunctionDef) - Static method in class org.sonar.python.tree.TreeUtils
 
POWER - org.sonar.plugins.python.api.tree.Tree.Kind
 
POWER - org.sonar.python.api.PythonGrammar
 
PreciseIssue(PythonCheck, IssueLocation) - Constructor for class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
preciseLocation(LocationInFile, String) - Static method in class org.sonar.plugins.python.api.IssueLocation
 
preciseLocation(Token, String) - Static method in class org.sonar.plugins.python.api.IssueLocation
 
preciseLocation(Token, Token, String) - Static method in class org.sonar.plugins.python.api.IssueLocation
 
preciseLocation(Tree, String) - Static method in class org.sonar.plugins.python.api.IssueLocation
 
predecessors() - Method in interface org.sonar.plugins.python.api.cfg.CfgBlock
 
predecessors() - Method in class org.sonar.python.cfg.PythonCfgBlock
 
prefix() - Method in interface org.sonar.plugins.python.api.tree.StringElement
 
prefix() - Method in class org.sonar.python.tree.StringElementImpl
 
primaryLocation() - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
PRINT_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
PRINT_STMT - org.sonar.python.api.PythonGrammar
 
printKeyword() - Method in interface org.sonar.plugins.python.api.tree.PrintStatement
 
printKeyword() - Method in class org.sonar.python.tree.PrintStatementImpl
 
printStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
PrintStatement - Interface in org.sonar.plugins.python.api.tree
Python 2 only.
PrintStatementImpl - Class in org.sonar.python.tree
 
PrintStatementImpl(Token, List<Expression>, Separators) - Constructor for class org.sonar.python.tree.PrintStatementImpl
 
PythonCfgBlock - Class in org.sonar.python.cfg
 
PythonCfgBlock() - Constructor for class org.sonar.python.cfg.PythonCfgBlock
 
PythonCfgBranchingBlock - Class in org.sonar.python.cfg
 
PythonCfgBranchingBlock(Tree, CfgBlock, CfgBlock) - Constructor for class org.sonar.python.cfg.PythonCfgBranchingBlock
 
PythonCfgEndBlock - Class in org.sonar.python.cfg
 
PythonCfgEndBlock() - Constructor for class org.sonar.python.cfg.PythonCfgEndBlock
 
PythonCfgSimpleBlock - Class in org.sonar.python.cfg
 
PythonCfgSimpleBlock(CfgBlock) - Constructor for class org.sonar.python.cfg.PythonCfgSimpleBlock
 
PythonCheck - Interface in org.sonar.plugins.python.api
 
PythonCheck.PreciseIssue - Class in org.sonar.plugins.python.api
 
PythonConfiguration - Class in org.sonar.python
 
PythonConfiguration(Charset) - Constructor for class org.sonar.python.PythonConfiguration
 
PythonCustomRuleRepository - Interface in org.sonar.plugins.python.api
Extension point to create a custom rule repository for Python.
pythonFile() - Method in class org.sonar.plugins.python.api.PythonVisitorContext
 
pythonFile() - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 
PythonFile - Interface in org.sonar.plugins.python.api
 
PythonGrammar - Enum in org.sonar.python.api
 
PythonKeyword - Enum in org.sonar.python.api
http://docs.python.org/reference/lexical_analysis.html#keywords
PythonLexer - Class in org.sonar.python.lexer
 
pythonPackageName(File, File) - Static method in class org.sonar.python.semantic.SymbolUtils
 
PythonParser - Class in org.sonar.python.parser
 
PythonPunctuator - Enum in org.sonar.python.api
 
PythonSubscriptionCheck - Class in org.sonar.plugins.python.api
 
PythonSubscriptionCheck() - Constructor for class org.sonar.plugins.python.api.PythonSubscriptionCheck
 
PythonTokenType - Enum in org.sonar.python.api
 
PythonTreeMaker - Class in org.sonar.python.tree
 
PythonTreeMaker() - Constructor for class org.sonar.python.tree.PythonTreeMaker
 
PythonVisitorCheck - Class in org.sonar.plugins.python.api
 
PythonVisitorCheck() - Constructor for class org.sonar.plugins.python.api.PythonVisitorCheck
 
PythonVisitorContext - Class in org.sonar.plugins.python.api
 
PythonVisitorContext(PythonFile, RecognitionException) - Constructor for class org.sonar.plugins.python.api.PythonVisitorContext
 
PythonVisitorContext(FileInput, PythonFile, File, String) - Constructor for class org.sonar.plugins.python.api.PythonVisitorContext
 
PythonVisitorContext(FileInput, PythonFile, File, String, Map<String, Set<Symbol>>) - Constructor for class org.sonar.plugins.python.api.PythonVisitorContext
 
PyTree - Class in org.sonar.python.tree
 
PyTree() - Constructor for class org.sonar.python.tree.PyTree
 

Q

QUALIFIED_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
QualifiedExpression - Interface in org.sonar.plugins.python.api.tree
Qualified expression like "foo.bar"
QualifiedExpressionImpl - Class in org.sonar.python.tree
 
QualifiedExpressionImpl(Name, Expression, Token) - Constructor for class org.sonar.python.tree.QualifiedExpressionImpl
 
qualifier() - Method in interface org.sonar.plugins.python.api.tree.QualifiedExpression
 
qualifier() - Method in class org.sonar.python.tree.QualifiedExpressionImpl
 

R

RAISE - org.sonar.python.api.PythonKeyword
 
RAISE_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
RAISE_STMT - org.sonar.python.api.PythonGrammar
 
raiseKeyword() - Method in interface org.sonar.plugins.python.api.tree.RaiseStatement
 
raiseKeyword() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
raiseStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
RaiseStatement - Interface in org.sonar.plugins.python.api.tree
RaiseStatementImpl - Class in org.sonar.python.tree
 
RaiseStatementImpl(Token, List<Expression>, Token, Expression, Separators) - Constructor for class org.sonar.python.tree.RaiseStatementImpl
 
RBRACKET - org.sonar.python.api.PythonPunctuator
 
rCurlyBrace() - Method in interface org.sonar.plugins.python.api.tree.DictionaryLiteral
 
rCurlyBrace() - Method in interface org.sonar.plugins.python.api.tree.SetLiteral
 
rCurlyBrace() - Method in class org.sonar.python.tree.DictOrSetLiteralImpl
 
RCURLYBRACE - org.sonar.python.api.PythonPunctuator
 
ReachingDefinitionsAnalysis - Class in org.sonar.python.cfg.fixpoint
https://en.wikipedia.org/wiki/Reaching_definition Data flow analysis to determinate what definitions may reach a given point in the code.
ReachingDefinitionsAnalysis(PythonFile) - Constructor for class org.sonar.python.cfg.fixpoint.ReachingDefinitionsAnalysis
 
ReadWriteVisitor - Class in org.sonar.python.cfg.fixpoint
 
ReadWriteVisitor() - Constructor for class org.sonar.python.cfg.fixpoint.ReadWriteVisitor
 
ReadWriteVisitor.SymbolReadWrite - Class in org.sonar.python.cfg.fixpoint
 
registerSyntaxNodeConsumer(Tree.Kind, Consumer<SubscriptionContext>) - Method in interface org.sonar.plugins.python.api.SubscriptionCheck.Context
 
REGULAR_ARGUMENT - org.sonar.plugins.python.api.tree.Tree.Kind
 
RegularArgument - Interface in org.sonar.plugins.python.api.tree
RegularArgumentImpl - Class in org.sonar.python.tree
 
RegularArgumentImpl(Expression) - Constructor for class org.sonar.python.tree.RegularArgumentImpl
 
RegularArgumentImpl(Name, Token, Expression) - Constructor for class org.sonar.python.tree.RegularArgumentImpl
 
removeUsages() - Method in class org.sonar.python.semantic.AmbiguousSymbolImpl
 
removeUsages() - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
removeUsages() - Method in class org.sonar.python.semantic.SymbolImpl
 
repositoryKey() - Method in interface org.sonar.plugins.python.api.PythonCustomRuleRepository
Key of the custom rule repository.
REPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
ReprExpression - Interface in org.sonar.plugins.python.api.tree
Python 2 only.
ReprExpressionImpl - Class in org.sonar.python.tree
 
ReprExpressionImpl(Token, ExpressionList, Token) - Constructor for class org.sonar.python.tree.ReprExpressionImpl
 
reset() - Method in class org.sonar.python.lexer.LexerState
 
reset(int, int) - Method in class org.sonar.python.lexer.LexerState
 
resolveMember(String) - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
resolveMember(String) - Method in interface org.sonar.plugins.python.api.types.InferredType
 
resolveMember(String) - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
resultExpression() - Method in interface org.sonar.plugins.python.api.tree.ComprehensionExpression
 
resultExpression() - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
RETURN - org.sonar.python.api.PythonKeyword
 
RETURN_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
RETURN_STMT - org.sonar.python.api.PythonGrammar
 
RETURN_TYPE_ANNOTATION - org.sonar.plugins.python.api.tree.Tree.Kind
 
returnKeyword() - Method in interface org.sonar.plugins.python.api.tree.ReturnStatement
 
returnKeyword() - Method in class org.sonar.python.tree.ReturnStatementImpl
 
returnStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
ReturnStatement - Interface in org.sonar.plugins.python.api.tree
ReturnStatementImpl - Class in org.sonar.python.tree
 
ReturnStatementImpl(Token, List<Expression>, Separators) - Constructor for class org.sonar.python.tree.ReturnStatementImpl
 
returnTypeAnnotation() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
-> returnType
returnTypeAnnotation() - Method in class org.sonar.python.tree.FunctionDefImpl
 
rhsExpression() - Method in interface org.sonar.plugins.python.api.tree.CompoundAssignmentStatement
 
rhsExpression() - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
RIGHT_ASSIGN - org.sonar.python.api.PythonPunctuator
 
RIGHT_OP - org.sonar.python.api.PythonPunctuator
 
rightBracket() - Method in interface org.sonar.plugins.python.api.tree.ListLiteral
 
rightBracket() - Method in interface org.sonar.plugins.python.api.tree.SliceExpression
 
rightBracket() - Method in interface org.sonar.plugins.python.api.tree.SubscriptionExpression
 
rightBracket() - Method in class org.sonar.python.tree.ListLiteralImpl
 
rightBracket() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
rightBracket() - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
rightOperand() - Method in interface org.sonar.plugins.python.api.tree.BinaryExpression
 
rightOperand() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
rightPar() - Method in interface org.sonar.plugins.python.api.tree.CallExpression
 
rightPar() - Method in interface org.sonar.plugins.python.api.tree.ClassDef
 
rightPar() - Method in interface org.sonar.plugins.python.api.tree.Decorator
 
rightPar() - Method in interface org.sonar.plugins.python.api.tree.FunctionDef
 
rightPar() - Method in class org.sonar.python.tree.CallExpressionImpl
 
rightPar() - Method in class org.sonar.python.tree.ClassDefImpl
 
rightPar() - Method in class org.sonar.python.tree.DecoratorImpl
 
rightPar() - Method in class org.sonar.python.tree.FunctionDefImpl
 
rightParenthesis() - Method in interface org.sonar.plugins.python.api.tree.ParenthesizedExpression
 
rightParenthesis() - Method in interface org.sonar.plugins.python.api.tree.Tuple
 
rightParenthesis() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
rightParenthesis() - Method in class org.sonar.python.tree.TupleImpl
 
rootTree() - Method in class org.sonar.plugins.python.api.PythonVisitorContext
 
RPARENTHESIS - org.sonar.python.api.PythonPunctuator
 
runtimeType(Symbol) - Static method in class org.sonar.python.types.InferredTypes
 

S

scan(List<? extends Tree>) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
scan(Tree) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
scanFile(File, PythonCheck...) - Static method in class org.sonar.python.TestPythonVisitorRunner
 
scanFile(PythonVisitorContext) - Method in interface org.sonar.plugins.python.api.PythonCheck
 
scanFile(PythonVisitorContext) - Method in class org.sonar.plugins.python.api.PythonSubscriptionCheck
 
scanFile(PythonVisitorContext) - Method in class org.sonar.plugins.python.api.PythonVisitorCheck
 
scanFile(PythonVisitorContext) - Method in class org.sonar.python.metrics.FileLinesVisitor
 
secondary(IssueLocation) - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
secondary(LocationInFile, String) - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
secondary(Token, String) - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
secondary(Tree, String) - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
secondaryLocations() - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
SEMICOLON - org.sonar.python.api.PythonPunctuator
 
separator() - Method in interface org.sonar.plugins.python.api.tree.Statement
 
separator() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
separator() - Method in class org.sonar.python.tree.AssertStatementImpl
 
separator() - Method in class org.sonar.python.tree.AssignmentStatementImpl
 
separator() - Method in class org.sonar.python.tree.BreakStatementImpl
 
separator() - Method in class org.sonar.python.tree.CompoundAssignmentStatementImpl
 
separator() - Method in class org.sonar.python.tree.ContinueStatementImpl
 
separator() - Method in class org.sonar.python.tree.DelStatementImpl
 
separator() - Method in class org.sonar.python.tree.ExecStatementImpl
 
separator() - Method in class org.sonar.python.tree.ExpressionStatementImpl
 
separator() - Method in class org.sonar.python.tree.GlobalStatementImpl
 
separator() - Method in class org.sonar.python.tree.ImportFromImpl
 
separator() - Method in class org.sonar.python.tree.ImportNameImpl
 
separator() - Method in class org.sonar.python.tree.NonlocalStatementImpl
 
separator() - Method in class org.sonar.python.tree.PassStatementImpl
 
separator() - Method in class org.sonar.python.tree.RaiseStatementImpl
 
separator() - Method in class org.sonar.python.tree.ReturnStatementImpl
 
separator() - Method in class org.sonar.python.tree.StatementWithSeparator
 
separator() - Method in class org.sonar.python.tree.YieldStatementImpl
 
separators() - Method in interface org.sonar.plugins.python.api.tree.SliceList
 
separators() - Method in class org.sonar.python.tree.SliceListImpl
 
Separators - Class in org.sonar.python.tree
 
SET - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
SET - Static variable in class org.sonar.python.types.InferredTypes
 
SET_COMPREHENSION - org.sonar.plugins.python.api.tree.Tree.Kind
 
SET_LITERAL - org.sonar.plugins.python.api.tree.Tree.Kind
 
setDeclaredReturnType(InferredType) - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
setFunctionSymbol(FunctionSymbol) - Method in class org.sonar.python.tree.FunctionDefImpl
 
setHasSuperClassWithoutSymbol() - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
setHasUnresolvedWildcardImport(boolean) - Method in class org.sonar.python.tree.ImportFromImpl
 
setInferredType(InferredType) - Method in class org.sonar.python.semantic.SymbolImpl
 
setKind(Symbol.Kind) - Method in class org.sonar.python.semantic.SymbolImpl
 
SetLiteral - Interface in org.sonar.plugins.python.api.tree
SetLiteralImpl - Class in org.sonar.python.tree
 
SetLiteralImpl(Token, List<Expression>, List<Token>, Token) - Constructor for class org.sonar.python.tree.SetLiteralImpl
 
setOwner(Symbol) - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
setParametersWithType(ParameterList) - Method in class org.sonar.python.semantic.FunctionSymbolImpl
 
setParent(Tree) - Method in class org.sonar.python.tree.PyTree
 
setParents(Tree) - Method in class org.sonar.python.tree.PythonTreeMaker
 
setRootRule(Rule) - Method in class org.sonar.python.parser.PythonParser
 
setSymbol(Symbol) - Method in class org.sonar.python.tree.NameImpl
 
setSyntacticSuccessor(CfgBlock) - Method in class org.sonar.python.cfg.PythonCfgSimpleBlock
 
setTrueSuccessor(PythonCfgBlock) - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
setUsage(Usage) - Method in class org.sonar.python.tree.NameImpl
 
SHIFT_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
SHIFT_EXPR - org.sonar.python.api.PythonGrammar
 
SIMPLE_STMT - org.sonar.python.api.PythonGrammar
 
SimpleStatement - Class in org.sonar.python.tree
 
SimpleStatement() - Constructor for class org.sonar.python.tree.SimpleStatement
 
simpleStatements(LexerfulGrammarBuilder) - Static method in enum org.sonar.python.api.PythonGrammar
Simple statements http://docs.python.org/reference/simple_stmts.html
SLICE_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
SLICE_ITEM - org.sonar.plugins.python.api.tree.Tree.Kind
 
SLICE_LIST - org.sonar.plugins.python.api.tree.Tree.Kind
 
SliceExpression - Interface in org.sonar.plugins.python.api.tree
SliceExpressionImpl - Class in org.sonar.python.tree
 
SliceExpressionImpl(Expression, Token, SliceList, Token) - Constructor for class org.sonar.python.tree.SliceExpressionImpl
 
SliceItem - Interface in org.sonar.plugins.python.api.tree
SliceItemImpl - Class in org.sonar.python.tree
 
SliceItemImpl(Expression, Token, Expression, Token, Expression) - Constructor for class org.sonar.python.tree.SliceItemImpl
 
sliceList() - Method in interface org.sonar.plugins.python.api.tree.SliceExpression
 
sliceList() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
SliceList - Interface in org.sonar.plugins.python.api.tree
 
SliceListImpl - Class in org.sonar.python.tree
 
SliceListImpl(List<Tree>, List<Token>) - Constructor for class org.sonar.python.tree.SliceListImpl
 
SLICEOP - org.sonar.python.api.PythonGrammar
 
slices() - Method in interface org.sonar.plugins.python.api.tree.SliceList
 
slices() - Method in class org.sonar.python.tree.SliceListImpl
 
STAR_EXPR - org.sonar.python.api.PythonGrammar
 
start() - Method in class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
startLine() - Method in class org.sonar.plugins.python.api.IssueLocation
 
startLine() - Method in class org.sonar.plugins.python.api.LocationInFile
 
startLine() - Method in class org.sonar.python.TokenLocation
 
startLineOffset() - Method in class org.sonar.plugins.python.api.IssueLocation
 
startLineOffset() - Method in class org.sonar.plugins.python.api.LocationInFile
 
startLineOffset() - Method in class org.sonar.python.TokenLocation
 
starToken() - Method in interface org.sonar.plugins.python.api.tree.Parameter
Represents both '*' and '**'
starToken() - Method in interface org.sonar.plugins.python.api.tree.UnpackingExpression
Can be either * or **
starToken() - Method in class org.sonar.python.tree.ParameterImpl
 
starToken() - Method in class org.sonar.python.tree.UnpackingExpressionImpl
 
statement() - Method in class org.sonar.python.tree.StatementWithSeparator
 
Statement - Interface in org.sonar.plugins.python.api.tree
 
STATEMENT - org.sonar.python.api.PythonGrammar
 
STATEMENT_LIST - org.sonar.plugins.python.api.tree.Tree.Kind
 
StatementList - Interface in org.sonar.plugins.python.api.tree
 
StatementListImpl - Class in org.sonar.python.tree
 
StatementListImpl(List<Statement>) - Constructor for class org.sonar.python.tree.StatementListImpl
 
statements() - Method in interface org.sonar.plugins.python.api.tree.FileInput
 
statements() - Method in interface org.sonar.plugins.python.api.tree.StatementList
 
statements() - Method in interface org.sonar.plugins.python.api.tree.WithStatement
 
statements() - Method in class org.sonar.python.tree.FileInputImpl
 
statements() - Method in class org.sonar.python.tree.StatementListImpl
 
statements() - Method in class org.sonar.python.tree.WithStatementImpl
 
StatementWithSeparator - Class in org.sonar.python.tree
 
StatementWithSeparator(AstNode, Separators) - Constructor for class org.sonar.python.tree.StatementWithSeparator
 
STMT_LIST - org.sonar.python.api.PythonGrammar
 
STR - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
STR - Static variable in class org.sonar.python.types.InferredTypes
 
stride() - Method in interface org.sonar.plugins.python.api.tree.SliceItem
 
stride() - Method in class org.sonar.python.tree.SliceItemImpl
 
strideSeparator() - Method in interface org.sonar.plugins.python.api.tree.SliceItem
 
strideSeparator() - Method in class org.sonar.python.tree.SliceItemImpl
 
STRING - org.sonar.python.api.PythonTokenType
 
STRING_ELEMENT - org.sonar.plugins.python.api.tree.Tree.Kind
 
STRING_LITERAL - org.sonar.plugins.python.api.tree.Tree.Kind
 
StringElement - Interface in org.sonar.plugins.python.api.tree
StringElementImpl - Class in org.sonar.python.tree
 
StringElementImpl(Token) - Constructor for class org.sonar.python.tree.StringElementImpl
 
stringElements() - Method in interface org.sonar.plugins.python.api.tree.StringLiteral
 
stringElements() - Method in class org.sonar.python.tree.StringLiteralImpl
 
StringLiteral - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation
StringLiteralImpl - Class in org.sonar.python.tree
 
StringLiteralsChannel - Class in org.sonar.python.lexer
http://docs.python.org/reference/lexical_analysis.html#string-literals
StringLiteralsChannel() - Constructor for class org.sonar.python.lexer.StringLiteralsChannel
 
SUBSCRIPT - org.sonar.python.api.PythonGrammar
 
SUBSCRIPTION - org.sonar.plugins.python.api.tree.Tree.Kind
 
SubscriptionCheck - Interface in org.sonar.plugins.python.api
 
SubscriptionCheck.Context - Interface in org.sonar.plugins.python.api
 
SubscriptionContext - Interface in org.sonar.plugins.python.api
 
SubscriptionExpression - Interface in org.sonar.plugins.python.api.tree
SubscriptionExpressionImpl - Class in org.sonar.python.tree
 
SubscriptionExpressionImpl(Expression, Token, ExpressionList, Token) - Constructor for class org.sonar.python.tree.SubscriptionExpressionImpl
 
SubscriptionVisitor - Class in org.sonar.python
 
SUBSCRIPTLIST - org.sonar.python.api.PythonGrammar
 
subscripts() - Method in interface org.sonar.plugins.python.api.tree.SubscriptionExpression
 
subscripts() - Method in class org.sonar.python.tree.SubscriptionExpressionImpl
 
successors() - Method in interface org.sonar.plugins.python.api.cfg.CfgBlock
 
successors() - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
successors() - Method in class org.sonar.python.cfg.PythonCfgEndBlock
 
successors() - Method in class org.sonar.python.cfg.PythonCfgSimpleBlock
 
SUITE - org.sonar.python.api.PythonGrammar
 
superClasses() - Method in interface org.sonar.plugins.python.api.symbols.ClassSymbol
 
superClasses() - Method in class org.sonar.python.semantic.ClassSymbolImpl
 
symbol() - Method in interface org.sonar.plugins.python.api.tree.HasSymbol
 
symbol() - Method in interface org.sonar.plugins.python.api.tree.QualifiedExpression
Returns the symbol of QualifiedExpression.name()
symbol() - Method in class org.sonar.python.tree.NameImpl
 
Symbol - Interface in org.sonar.plugins.python.api.symbols
 
Symbol.Kind - Enum in org.sonar.plugins.python.api.symbols
 
SymbolImpl - Class in org.sonar.python.semantic
 
SymbolImpl(String, String) - Constructor for class org.sonar.python.semantic.SymbolImpl
 
SymbolReadWrite() - Constructor for class org.sonar.python.cfg.fixpoint.ReadWriteVisitor.SymbolReadWrite
 
symbolsForModule(String) - Static method in class org.sonar.python.types.TypeShed
 
SymbolTableBuilder - Class in org.sonar.python.semantic
 
SymbolTableBuilder(String, PythonFile) - Constructor for class org.sonar.python.semantic.SymbolTableBuilder
 
SymbolTableBuilder(String, PythonFile, Map<String, Set<Symbol>>) - Constructor for class org.sonar.python.semantic.SymbolTableBuilder
 
SymbolTableBuilder(PythonFile) - Constructor for class org.sonar.python.semantic.SymbolTableBuilder
 
symbolToUsages() - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor
 
SymbolUtils - Class in org.sonar.python.semantic
 
symbolWithFQN(String, String) - Static method in class org.sonar.python.types.TypeShed
 
syntacticSuccessor() - Method in interface org.sonar.plugins.python.api.cfg.CfgBlock
 
syntacticSuccessor() - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
syntacticSuccessor() - Method in class org.sonar.python.cfg.PythonCfgEndBlock
 
syntacticSuccessor() - Method in class org.sonar.python.cfg.PythonCfgSimpleBlock
 
syntaxNode() - Method in interface org.sonar.plugins.python.api.SubscriptionContext
 

T

test() - Method in interface org.sonar.plugins.python.api.tree.WithItem
 
test() - Method in class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
TEST - org.sonar.python.api.PythonGrammar
 
TEST_NOCOND - org.sonar.python.api.PythonGrammar
 
testExpressions() - Method in interface org.sonar.plugins.python.api.tree.ForStatement
 
testExpressions() - Method in class org.sonar.python.tree.ForStatementImpl
 
TESTLIST - org.sonar.python.api.PythonGrammar
 
TESTLIST_COMP - org.sonar.python.api.PythonGrammar
 
TESTLIST_STAR_EXPR - org.sonar.python.api.PythonGrammar
 
TestPythonVisitorRunner - Class in org.sonar.python
 
TFPDEF - org.sonar.python.api.PythonGrammar
 
TFPLIST - org.sonar.python.api.PythonGrammar
 
TILDE - org.sonar.python.api.PythonPunctuator
 
token() - Method in interface org.sonar.plugins.python.api.tree.Trivia
Returns the token of the comment
token() - Method in class org.sonar.python.tree.TriviaImpl
 
Token - Interface in org.sonar.plugins.python.api.tree
 
TOKEN - org.sonar.plugins.python.api.tree.Tree.Kind
 
TokenImpl - Class in org.sonar.python.tree
 
TokenImpl(Token) - Constructor for class org.sonar.python.tree.TokenImpl
 
TokenLocation - Class in org.sonar.python
 
TokenLocation(Token) - Constructor for class org.sonar.python.TokenLocation
 
tokens(Tree) - Static method in class org.sonar.python.tree.TreeUtils
 
topLevelFunctionDefs(ClassDef) - Static method in class org.sonar.python.tree.TreeUtils
Collects all top-level function definitions within a class def.
toString() - Method in class org.sonar.plugins.python.api.cfg.ControlFlowGraph
 
toString() - Method in class org.sonar.python.cfg.PythonCfgBlock
 
toString() - Method in class org.sonar.python.cfg.PythonCfgEndBlock
 
toStringDisplayPosition() - Method in class org.sonar.python.cfg.PythonCfgBlock
 
toStringDisplayPosition() - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
TRAILER - org.sonar.python.api.PythonGrammar
 
tree() - Method in interface org.sonar.plugins.python.api.symbols.Usage
 
tree() - Method in class org.sonar.python.semantic.UsageImpl
 
Tree - Interface in org.sonar.plugins.python.api.tree
 
Tree.Kind - Enum in org.sonar.plugins.python.api.tree
 
TreeUtils - Class in org.sonar.python.tree
 
TreeVisitor - Interface in org.sonar.plugins.python.api.tree
 
trimmedQuotesValue() - Method in interface org.sonar.plugins.python.api.tree.StringElement
 
trimmedQuotesValue() - Method in interface org.sonar.plugins.python.api.tree.StringLiteral
 
trimmedQuotesValue() - Method in class org.sonar.python.tree.StringElementImpl
 
trimmedQuotesValue() - Method in class org.sonar.python.tree.StringLiteralImpl
 
trivia() - Method in interface org.sonar.plugins.python.api.tree.Token
 
trivia() - Method in class org.sonar.python.tree.TokenImpl
 
Trivia - Interface in org.sonar.plugins.python.api.tree
 
TriviaImpl - Class in org.sonar.python.tree
 
TriviaImpl(Token) - Constructor for class org.sonar.python.tree.TriviaImpl
 
trueExpression() - Method in interface org.sonar.plugins.python.api.tree.ConditionalExpression
 
trueExpression() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
trueSuccessor() - Method in interface org.sonar.plugins.python.api.cfg.CfgBranchingBlock
 
trueSuccessor() - Method in class org.sonar.python.cfg.PythonCfgBranchingBlock
 
TRY - org.sonar.python.api.PythonKeyword
 
TRY_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
TRY_STMT - org.sonar.python.api.PythonGrammar
 
tryKeyword() - Method in interface org.sonar.plugins.python.api.tree.TryStatement
 
tryKeyword() - Method in class org.sonar.python.tree.TryStatementImpl
 
tryStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
TryStatement - Interface in org.sonar.plugins.python.api.tree
TryStatementImpl - Class in org.sonar.python.tree
 
TryStatementImpl(Token, Token, Token, Token, StatementList, Token, List<ExceptClause>, FinallyClause, ElseClause) - Constructor for class org.sonar.python.tree.TryStatementImpl
 
Tuple - Interface in org.sonar.plugins.python.api.tree
TUPLE - org.sonar.plugins.python.api.tree.Tree.Kind
 
TUPLE - Static variable in class org.sonar.plugins.python.api.types.BuiltinTypes
 
TUPLE - Static variable in class org.sonar.python.types.InferredTypes
 
TUPLE_PARAMETER - org.sonar.plugins.python.api.tree.Tree.Kind
 
TupleImpl - Class in org.sonar.python.tree
 
TupleImpl(Token, List<Expression>, List<Token>, Token) - Constructor for class org.sonar.python.tree.TupleImpl
 
TupleParameter - Interface in org.sonar.plugins.python.api.tree
Python 2 only
TupleParameterImpl - Class in org.sonar.python.tree
 
TupleParameterImpl(Token, List<AnyParameter>, List<Token>, Token) - Constructor for class org.sonar.python.tree.TupleParameterImpl
 
type() - Method in interface org.sonar.plugins.python.api.tree.Expression
 
type() - Method in interface org.sonar.plugins.python.api.tree.Token
 
type() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
type() - Method in class org.sonar.python.tree.CallExpressionImpl
 
type() - Method in class org.sonar.python.tree.ComprehensionExpressionImpl
 
type() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
type() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
type() - Method in class org.sonar.python.tree.DictionaryLiteralImpl
 
type() - Method in class org.sonar.python.tree.ListLiteralImpl
 
type() - Method in class org.sonar.python.tree.NameImpl
 
type() - Method in class org.sonar.python.tree.NoneExpressionImpl
 
type() - Method in class org.sonar.python.tree.NumericLiteralImpl
 
type() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
type() - Method in class org.sonar.python.tree.SetLiteralImpl
 
type() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
type() - Method in class org.sonar.python.tree.StringLiteralImpl
 
type() - Method in class org.sonar.python.tree.TokenImpl
 
type() - Method in class org.sonar.python.tree.TupleImpl
 
type() - Method in class org.sonar.python.tree.UnaryExpressionImpl
 
typeAnnotation() - Method in interface org.sonar.plugins.python.api.tree.Parameter
 
typeAnnotation() - Method in class org.sonar.python.tree.ParameterImpl
 
TypeAnnotation - Interface in org.sonar.plugins.python.api.tree
TypeAnnotationImpl - Class in org.sonar.python.tree
 
TypeAnnotationImpl(Token, Expression, Tree.Kind) - Constructor for class org.sonar.python.tree.TypeAnnotationImpl
 
TypeAnnotationImpl(Token, Token, Expression) - Constructor for class org.sonar.python.tree.TypeAnnotationImpl
 
TYPEDARGSLIST - org.sonar.python.api.PythonGrammar
 
typeDependencies() - Method in class org.sonar.python.tree.BinaryExpressionImpl
 
typeDependencies() - Method in class org.sonar.python.tree.CallExpressionImpl
 
typeDependencies() - Method in class org.sonar.python.tree.ConditionalExpressionImpl
 
typeDependencies() - Method in class org.sonar.python.tree.ParenthesizedExpressionImpl
 
typeDependencies() - Method in class org.sonar.python.tree.SliceExpressionImpl
 
typeDependencies() - Method in interface org.sonar.python.types.HasTypeDependencies
 
TypeInference - Class in org.sonar.python.types
 
TypeShed - Class in org.sonar.python.types
 
typeShedClass(String) - Static method in class org.sonar.python.types.TypeShed
 
TypeShedPythonFile - Class in org.sonar.python.types
 

U

UNARY_MINUS - org.sonar.plugins.python.api.tree.Tree.Kind
 
UNARY_PLUS - org.sonar.plugins.python.api.tree.Tree.Kind
 
UnaryExpression - Interface in org.sonar.plugins.python.api.tree
UnaryExpressionImpl - Class in org.sonar.python.tree
 
UnaryExpressionImpl(Token, Expression) - Constructor for class org.sonar.python.tree.UnaryExpressionImpl
 
UNDEFINED - org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.VariableDefinition
 
UNDEFINED_LINE - Static variable in class org.sonar.plugins.python.api.IssueLocation
 
UNDEFINED_OFFSET - Static variable in class org.sonar.plugins.python.api.IssueLocation
 
union(Stream<InferredType>) - Static method in class org.sonar.python.types.InferredTypes
 
UNPACKING_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
UnpackingExpression - Interface in org.sonar.plugins.python.api.tree
UnpackingExpressionImpl - Class in org.sonar.python.tree
 
UnpackingExpressionImpl(Token, Expression) - Constructor for class org.sonar.python.tree.UnpackingExpressionImpl
 
unreachableBlocks(ControlFlowGraph) - Static method in class org.sonar.python.cfg.CfgUtils
 
upperBound() - Method in interface org.sonar.plugins.python.api.tree.SliceItem
 
upperBound() - Method in class org.sonar.python.tree.SliceItemImpl
 
uri() - Method in interface org.sonar.plugins.python.api.PythonFile
 
uri() - Method in class org.sonar.python.types.TypeShedPythonFile
 
usage() - Method in interface org.sonar.plugins.python.api.tree.HasSymbol
 
usage() - Method in interface org.sonar.plugins.python.api.tree.QualifiedExpression
Returns the usage of QualifiedExpression.name()
usage() - Method in class org.sonar.python.tree.NameImpl
 
Usage - Interface in org.sonar.plugins.python.api.symbols
 
Usage.Kind - Enum in org.sonar.plugins.python.api.symbols
 
UsageImpl - Class in org.sonar.python.semantic
 
UsageImpl(Tree, Usage.Kind) - Constructor for class org.sonar.python.semantic.UsageImpl
 
usages() - Method in interface org.sonar.plugins.python.api.symbols.Symbol
 
usages() - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor.SymbolReadWrite
 
usages() - Method in class org.sonar.python.semantic.SymbolImpl
 

V

value() - Method in interface org.sonar.plugins.python.api.tree.KeyValuePair
 
value() - Method in interface org.sonar.plugins.python.api.tree.StringElement
 
value() - Method in interface org.sonar.plugins.python.api.tree.Token
 
value() - Method in interface org.sonar.plugins.python.api.tree.Trivia
 
value() - Method in class org.sonar.python.tree.KeyValuePairImpl
 
value() - Method in class org.sonar.python.tree.StringElementImpl
 
value() - Method in class org.sonar.python.tree.TokenImpl
 
value() - Method in class org.sonar.python.tree.TriviaImpl
 
valueAsLong() - Method in interface org.sonar.plugins.python.api.tree.NumericLiteral
 
valueAsLong() - Method in class org.sonar.python.tree.NumericLiteralImpl
 
valueAsString() - Method in interface org.sonar.plugins.python.api.tree.NumericLiteral
 
valueAsString() - Method in class org.sonar.python.tree.NumericLiteralImpl
 
valueExpression() - Method in interface org.sonar.plugins.python.api.tree.DictCompExpression
 
valueExpression() - Method in class org.sonar.python.tree.DictCompExpressionImpl
 
valueOf(String) - Static method in enum org.sonar.plugins.python.api.symbols.Symbol.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.plugins.python.api.symbols.Usage.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.plugins.python.api.tree.Tree.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonGrammar
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonKeyword
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonPunctuator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.api.PythonTokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.VariableDefinition
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sonar.plugins.python.api.symbols.Symbol.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.plugins.python.api.symbols.Usage.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.plugins.python.api.tree.Tree.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonGrammar
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonKeyword
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonPunctuator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.api.PythonTokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.python.cfg.fixpoint.DefinedVariablesAnalysis.VariableDefinition
Returns an array containing the constants of this enum type, in the order they are declared.
valuesAtLocation(Name) - Method in class org.sonar.python.cfg.fixpoint.ReachingDefinitionsAnalysis
 
VARARGSLIST - org.sonar.python.api.PythonGrammar
 
variable() - Method in interface org.sonar.plugins.python.api.tree.AnnotatedAssignment
 
variable() - Method in class org.sonar.python.tree.AnnotatedAssignmentImpl
 
VARIABLE_TYPE_ANNOTATION - org.sonar.plugins.python.api.tree.Tree.Kind
 
variableReadWritesPerElement - Variable in class org.sonar.python.cfg.fixpoint.CfgBlockState
 
variables() - Method in interface org.sonar.plugins.python.api.tree.GlobalStatement
 
variables() - Method in interface org.sonar.plugins.python.api.tree.NonlocalStatement
 
variables() - Method in class org.sonar.python.tree.GlobalStatementImpl
 
variables() - Method in class org.sonar.python.tree.NonlocalStatementImpl
 
visitAliasedName(AliasedName) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitAliasedName(AliasedName) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitAnnotatedAssignment(AnnotatedAssignment) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitAnnotatedAssignment(AnnotatedAssignment) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitArgumentList(ArgList) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitArgumentList(ArgList) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitAssertStatement(AssertStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitAssertStatement(AssertStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitAssignmentExpression(AssignmentExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitAssignmentExpression(AssignmentExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitAssignmentStatement(AssignmentStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitAssignmentStatement(AssignmentStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitAssignmentStatement(AssignmentStatement) - Method in class org.sonar.python.types.TypeInference
 
visitAwaitExpression(AwaitExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitAwaitExpression(AwaitExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitBinaryExpression(BinaryExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitBinaryExpression(BinaryExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitBinaryExpression(BinaryExpression) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitBinaryExpression(BinaryExpression) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitBreakStatement(BreakStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitBreakStatement(BreakStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitCallExpression(CallExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitCallExpression(CallExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitClassDef(ClassDef) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitClassDef(ClassDef) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitClassDef(ClassDef) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitCompoundAssignment(CompoundAssignmentStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitCompoundAssignment(CompoundAssignmentStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitComprehensionFor(ComprehensionFor) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitComprehensionFor(ComprehensionFor) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitComprehensionIf(ComprehensionIf) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitComprehensionIf(ComprehensionIf) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitComprehensionIf(ComprehensionIf) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitConditionalExpression(ConditionalExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitConditionalExpression(ConditionalExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitConditionalExpression(ConditionalExpression) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitConditionalExpression(ConditionalExpression) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitContinueStatement(ContinueStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitContinueStatement(ContinueStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitDecorator(Decorator) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitDecorator(Decorator) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitDelStatement(DelStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitDelStatement(DelStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitDictCompExpression(DictCompExpressionImpl) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitDictCompExpression(DictCompExpressionImpl) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitDictionaryLiteral(DictionaryLiteral) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitDictionaryLiteral(DictionaryLiteral) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitDottedName(DottedName) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitDottedName(DottedName) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitEllipsis(EllipsisExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitEllipsis(EllipsisExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitElseClause(ElseClause) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitElseClause(ElseClause) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitElseClause(ElseClause) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitExceptClause(ExceptClause) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitExceptClause(ExceptClause) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitExceptClause(ExceptClause) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitExecStatement(ExecStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitExecStatement(ExecStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitExpressionList(ExpressionList) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitExpressionList(ExpressionList) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitExpressionStatement(ExpressionStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitExpressionStatement(ExpressionStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitFileInput(FileInput) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitFileInput(FileInput) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitFileInput(FileInput) - Method in class org.sonar.python.semantic.SymbolTableBuilder
 
visitFinallyClause(FinallyClause) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitFinallyClause(FinallyClause) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitFormattedExpression(FormattedExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitFormattedExpression(FormattedExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitForStatement(ForStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitForStatement(ForStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitForStatement(ForStatement) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitForStatement(ForStatement) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitFunctionDef(FunctionDef) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitFunctionDef(FunctionDef) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitFunctionDef(FunctionDef) - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor
 
visitFunctionDef(FunctionDef) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitFunctionDef(FunctionDef) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitGlobalStatement(GlobalStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitGlobalStatement(GlobalStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitIfStatement(IfStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitIfStatement(IfStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitIfStatement(IfStatement) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitIfStatement(IfStatement) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitImportFrom(ImportFrom) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitImportFrom(ImportFrom) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitImportName(ImportName) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitImportName(ImportName) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitKeyValuePair(KeyValuePair) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitKeyValuePair(KeyValuePair) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitLambda(LambdaExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitLambda(LambdaExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitLambda(LambdaExpression) - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor
 
visitListLiteral(ListLiteral) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitListLiteral(ListLiteral) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitName(Name) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitName(Name) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitName(Name) - Method in class org.sonar.python.cfg.fixpoint.ReadWriteVisitor
 
visitNone(NoneExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitNone(NoneExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitNonlocalStatement(NonlocalStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitNonlocalStatement(NonlocalStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitNumericLiteral(NumericLiteral) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitNumericLiteral(NumericLiteral) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitParameter(Parameter) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitParameter(Parameter) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitParameterList(ParameterList) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitParameterList(ParameterList) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitParenthesizedExpression(ParenthesizedExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitParenthesizedExpression(ParenthesizedExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitPassStatement(PassStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitPassStatement(PassStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitPrintStatement(PrintStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitPrintStatement(PrintStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitPyListOrSetCompExpression(ComprehensionExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitPyListOrSetCompExpression(ComprehensionExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitQualifiedExpression(QualifiedExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitQualifiedExpression(QualifiedExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitQualifiedExpression(QualifiedExpression) - Method in class org.sonar.python.types.TypeInference
 
visitRaiseStatement(RaiseStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitRaiseStatement(RaiseStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitRegularArgument(RegularArgument) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitRegularArgument(RegularArgument) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitRepr(ReprExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitRepr(ReprExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitReturnStatement(ReturnStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitReturnStatement(ReturnStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitSetLiteral(SetLiteral) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitSetLiteral(SetLiteral) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitSliceExpression(SliceExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitSliceExpression(SliceExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitSliceItem(SliceItem) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitSliceItem(SliceItem) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitSliceList(SliceList) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitSliceList(SliceList) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitStatementList(StatementList) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitStatementList(StatementList) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitStatementList(StatementList) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitStringElement(StringElement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitStringElement(StringElement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitStringLiteral(StringLiteral) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitStringLiteral(StringLiteral) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitSubscriptionExpression(SubscriptionExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitSubscriptionExpression(SubscriptionExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitToken(Token) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitToken(Token) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitTryStatement(TryStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitTryStatement(TryStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitTuple(Tuple) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitTuple(Tuple) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitTupleParameter(TupleParameter) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitTupleParameter(TupleParameter) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitTypeAnnotation(TypeAnnotation) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitTypeAnnotation(TypeAnnotation) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitUnaryExpression(UnaryExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitUnaryExpression(UnaryExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitUnpackingExpression(UnpackingExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitUnpackingExpression(UnpackingExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitWhileStatement(WhileStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitWhileStatement(WhileStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitWhileStatement(WhileStatement) - Method in class org.sonar.python.metrics.CognitiveComplexityVisitor
 
visitWhileStatement(WhileStatement) - Method in class org.sonar.python.metrics.ComplexityVisitor
 
visitWithItem(WithItem) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitWithItem(WithItem) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitWithStatement(WithStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitWithStatement(WithStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitYieldExpression(YieldExpression) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitYieldExpression(YieldExpression) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 
visitYieldStatement(YieldStatement) - Method in class org.sonar.plugins.python.api.tree.BaseTreeVisitor
 
visitYieldStatement(YieldStatement) - Method in interface org.sonar.plugins.python.api.tree.TreeVisitor
 

W

WALRUS_OPERATOR - org.sonar.python.api.PythonPunctuator
 
WHILE - org.sonar.python.api.PythonKeyword
 
WHILE_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
WHILE_STMT - org.sonar.python.api.PythonGrammar
 
whileKeyword() - Method in interface org.sonar.plugins.python.api.tree.WhileStatement
 
whileKeyword() - Method in class org.sonar.python.tree.WhileStatementImpl
 
whileStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
WhileStatement - Interface in org.sonar.plugins.python.api.tree
WhileStatementImpl - Class in org.sonar.python.tree
 
WhileStatementImpl(Token, Expression, Token, Token, Token, StatementList, Token, ElseClause) - Constructor for class org.sonar.python.tree.WhileStatementImpl
 
wildcard() - Method in interface org.sonar.plugins.python.api.tree.ImportFrom
 
wildcard() - Method in class org.sonar.python.tree.ImportFromImpl
 
WITH - org.sonar.python.api.PythonKeyword
 
WITH_INSTANCE - org.sonar.plugins.python.api.symbols.Usage.Kind
 
WITH_ITEM - org.sonar.plugins.python.api.tree.Tree.Kind
 
WITH_ITEM - org.sonar.python.api.PythonGrammar
 
WITH_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
WITH_STMT - org.sonar.python.api.PythonGrammar
 
withCost(int) - Method in class org.sonar.plugins.python.api.PythonCheck.PreciseIssue
 
WithItem - Interface in org.sonar.plugins.python.api.tree
WithItemImpl(Expression, Token, Expression) - Constructor for class org.sonar.python.tree.WithStatementImpl.WithItemImpl
 
withItems() - Method in interface org.sonar.plugins.python.api.tree.WithStatement
 
withItems() - Method in class org.sonar.python.tree.WithStatementImpl
 
withKeyword() - Method in interface org.sonar.plugins.python.api.tree.WithStatement
 
withKeyword() - Method in class org.sonar.python.tree.WithStatementImpl
 
withStatement(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
WithStatement - Interface in org.sonar.plugins.python.api.tree
WithStatementImpl - Class in org.sonar.python.tree
 
WithStatementImpl(Token, List<WithItem>, List<Token>, Token, Token, Token, StatementList, Token, Token) - Constructor for class org.sonar.python.tree.WithStatementImpl
 
WithStatementImpl.WithItemImpl - Class in org.sonar.python.tree
 
workingDirectory() - Method in class org.sonar.plugins.python.api.PythonVisitorContext
 
workingDirectory() - Method in interface org.sonar.plugins.python.api.SubscriptionContext
Returns null in case of Sonarlint context

X

XOR - org.sonar.python.api.PythonPunctuator
 
XOR_ASSIGN - org.sonar.python.api.PythonPunctuator
 
XOR_EXPR - org.sonar.python.api.PythonGrammar
 

Y

YIELD - org.sonar.python.api.PythonKeyword
 
YIELD_EXPR - org.sonar.plugins.python.api.tree.Tree.Kind
 
YIELD_EXPR - org.sonar.python.api.PythonGrammar
 
YIELD_STMT - org.sonar.plugins.python.api.tree.Tree.Kind
 
YIELD_STMT - org.sonar.python.api.PythonGrammar
 
yieldExpression() - Method in interface org.sonar.plugins.python.api.tree.YieldStatement
 
yieldExpression() - Method in class org.sonar.python.tree.YieldStatementImpl
 
yieldExpression(AstNode) - Method in class org.sonar.python.tree.PythonTreeMaker
 
YieldExpression - Interface in org.sonar.plugins.python.api.tree
YieldExpressionImpl - Class in org.sonar.python.tree
 
YieldExpressionImpl(Token, Token, List<Expression>) - Constructor for class org.sonar.python.tree.YieldExpressionImpl
 
yieldKeyword() - Method in interface org.sonar.plugins.python.api.tree.YieldExpression
 
yieldKeyword() - Method in class org.sonar.python.tree.YieldExpressionImpl
 
yieldStatement(StatementWithSeparator) - Method in class org.sonar.python.tree.PythonTreeMaker
 
YieldStatement - Interface in org.sonar.plugins.python.api.tree
See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-yield-stmt
YieldStatementImpl - Class in org.sonar.python.tree
 
YieldStatementImpl(YieldExpression, Separators) - Constructor for class org.sonar.python.tree.YieldStatementImpl
 
A B C D E F G H I K L M N O P Q R S T U V W X Y 
All Classes All Packages