Uses of Interface
org.sonar.plugins.python.api.symbols.Symbol
-
-
Uses of Symbol in org.sonar.plugins.python.api
Constructor parameters in org.sonar.plugins.python.api with type arguments of type Symbol Constructor Description PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, File workingDirectory, String packageName, Map<String,Set<Symbol>> globalSymbols) -
Uses of Symbol in org.sonar.plugins.python.api.symbols
Subinterfaces of Symbol in org.sonar.plugins.python.api.symbols Modifier and Type Interface Description interfaceAmbiguousSymbolinterfaceClassSymbolinterfaceFunctionSymbolMethods in org.sonar.plugins.python.api.symbols that return types with arguments of type Symbol Modifier and Type Method Description Set<Symbol>AmbiguousSymbol. alternatives()Set<Symbol>ClassSymbol. declaredMembers()Optional<Symbol>ClassSymbol. resolveMember(String memberName)List<Symbol>ClassSymbol. superClasses() -
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.plugins.python.api.types
Methods in org.sonar.plugins.python.api.types that return types with arguments of type Symbol Modifier and Type Method Description Optional<Symbol>InferredType. resolveMember(String memberName) -
Uses of Symbol in org.sonar.python
Methods in org.sonar.python that return types with arguments of type Symbol Modifier and Type Method Description static Map<String,Set<Symbol>>TestPythonVisitorRunner. globalSymbols(List<File> files, File baseDir)Method parameters in org.sonar.python with type arguments of type Symbol Modifier and Type Method Description static PythonVisitorContextTestPythonVisitorRunner. createContext(File file, File workingDirectory, String packageName, Map<String,Set<Symbol>> globalSymbols) -
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,ReadWriteVisitor.SymbolReadWrite>>CfgBlockState. variableReadWritesPerElementMethods 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,ReadWriteVisitor.SymbolReadWrite>CfgBlockState. getSymbolReadWrites(Tree tree)Map<Symbol,ReadWriteVisitor.SymbolReadWrite>ReadWriteVisitor. 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.semantic
Classes in org.sonar.python.semantic that implement Symbol Modifier and Type Class Description classAmbiguousSymbolImplclassClassSymbolImplclassFunctionSymbolImplclassSymbolImplMethods in org.sonar.python.semantic that return Symbol Modifier and Type Method Description SymbolFunctionSymbolImpl. owner()Methods in org.sonar.python.semantic that return types with arguments of type Symbol Modifier and Type Method Description Set<Symbol>AmbiguousSymbolImpl. alternatives()Set<Symbol>ClassSymbolImpl. declaredMembers()static Map<String,Set<Symbol>>SymbolUtils. externalModulesSymbols()static Set<Symbol>SymbolUtils. globalSymbols(FileInput fileInput, String packageName, PythonFile pythonFile)Optional<Symbol>ClassSymbolImpl. resolveMember(String memberName)List<Symbol>ClassSymbolImpl. superClasses()Methods in org.sonar.python.semantic with parameters of type Symbol Modifier and Type Method Description voidClassSymbolImpl. addSuperClass(Symbol symbol)voidFunctionSymbolImpl. setOwner(Symbol owner)Method parameters in org.sonar.python.semantic with type arguments of type Symbol Modifier and Type Method Description voidClassSymbolImpl. addMembers(Collection<Symbol> members)static AmbiguousSymbolAmbiguousSymbolImpl. create(Set<Symbol> symbols)Constructor parameters in org.sonar.python.semantic with type arguments of type Symbol Constructor Description SymbolTableBuilder(String packageName, PythonFile pythonFile, Map<String,Set<Symbol>> globalSymbolsByModuleName) -
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()static Optional<Symbol>TreeUtils. getSymbolFromTree(Tree tree)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) -
Uses of Symbol in org.sonar.python.types
Methods in org.sonar.python.types that return Symbol Modifier and Type Method Description static SymbolTypeShed. symbolWithFQN(String stdLibModuleName, String fullyQualifiedName)Methods in org.sonar.python.types that return types with arguments of type Symbol Modifier and Type Method Description static Map<String,Symbol>TypeShed. builtinSymbols()static Set<Symbol>TypeShed. symbolsForModule(String moduleName)Methods in org.sonar.python.types with parameters of type Symbol Modifier and Type Method Description static InferredTypeInferredTypes. runtimeType(Symbol typeClass)
-