Uses of Interface
org.sonar.plugins.python.api.symbols.Symbol
-
Packages that use Symbol Package Description org.sonar.plugins.python.api.tree org.sonar.python.cfg.fixpoint org.sonar.python.tree -
-
Uses of Symbol in org.sonar.plugins.python.api.tree
Methods in org.sonar.plugins.python.api.tree that return Symbol Modifier and Type Method Description default SymbolCallExpression. calleeSymbol()SymbolHasSymbol. symbol()default SymbolQualifiedExpression. symbol()Returns the symbol ofQualifiedExpression.name()Methods in org.sonar.plugins.python.api.tree that return types with arguments of type Symbol Modifier and Type Method Description Set<Symbol>ClassDef. classFields()Contains fields and methods symbolsSet<Symbol>FileInput. globalVariables()Set<Symbol>ClassDef. instanceFields()Set<Symbol>ComprehensionExpression. localVariables()local variables are following python3 scoping rules for comprehension expressions.Set<Symbol>DictCompExpression. localVariables()Set<Symbol>FunctionLike. localVariables() -
Uses of Symbol in org.sonar.python.cfg.fixpoint
Fields in org.sonar.python.cfg.fixpoint with type parameters of type Symbol Modifier and Type Field Description protected Set<Symbol>CfgBlockState. genvariables that are being read in the blockprotected Set<Symbol>CfgBlockState. killvariables that are being written in the blockprotected Map<Tree,Map<Symbol,UsageVisitor.SymbolUsage>>CfgBlockState. variableUsagesPerElementMethods in org.sonar.python.cfg.fixpoint that return types with arguments of type Symbol Modifier and Type Method Description Set<Symbol>CfgBlockState. getGen()Map<Symbol,DefinedVariablesAnalysis.VariableDefinition>DefinedVariablesAnalysis.DefinedVariables. getIn()Set<Symbol>LiveVariablesAnalysis.LiveVariables. getIn()Set<Symbol>CfgBlockState. getKill()Map<Symbol,DefinedVariablesAnalysis.VariableDefinition>DefinedVariablesAnalysis.DefinedVariables. getOut()Set<Symbol>LiveVariablesAnalysis.LiveVariables. getOut()Set<Symbol>LiveVariablesAnalysis. getReadSymbols()Map<Symbol,UsageVisitor.SymbolUsage>CfgBlockState. getVariableUsages(Tree tree)Map<Symbol,UsageVisitor.SymbolUsage>UsageVisitor. symbolToUsages()Methods in org.sonar.python.cfg.fixpoint with parameters of type Symbol Modifier and Type Method Description booleanCfgBlockState. isSymbolUsedInBlock(Symbol symbol)Method parameters in org.sonar.python.cfg.fixpoint with type arguments of type Symbol Modifier and Type Method Description static DefinedVariablesAnalysisDefinedVariablesAnalysis. analyze(ControlFlowGraph cfg, Set<Symbol> localVariables)static DefinedVariablesAnalysis.DefinedVariablesDefinedVariablesAnalysis.DefinedVariables. build(CfgBlock block, Map<Symbol,DefinedVariablesAnalysis.VariableDefinition> initialState)Builds a new DefinedVariables instance for the given block and initializes the 'kill' symbol sets. -
Uses of Symbol in org.sonar.python.tree
Methods in org.sonar.python.tree that return Symbol Modifier and Type Method Description SymbolNameImpl. symbol()Methods in org.sonar.python.tree that return types with arguments of type Symbol Modifier and Type Method Description Set<Symbol>ClassDefImpl. classFields()Set<Symbol>FileInputImpl. globalVariables()Set<Symbol>ClassDefImpl. instanceFields()Set<Symbol>ComprehensionExpressionImpl. localVariables()Set<Symbol>DictCompExpressionImpl. localVariables()Set<Symbol>FunctionDefImpl. localVariables()Set<Symbol>LambdaExpressionImpl. localVariables()Methods in org.sonar.python.tree with parameters of type Symbol Modifier and Type Method Description voidClassDefImpl. addClassField(Symbol field)voidFileInputImpl. addGlobalVariables(Symbol globalVariable)voidClassDefImpl. addInstanceField(Symbol field)voidComprehensionExpressionImpl. addLocalVariableSymbol(Symbol symbol)voidDictCompExpressionImpl. addLocalVariableSymbol(Symbol symbol)voidFunctionDefImpl. addLocalVariableSymbol(Symbol symbol)voidLambdaExpressionImpl. addLocalVariableSymbol(Symbol symbol)voidNameImpl. setSymbol(Symbol symbol)
-