Uses of Interface
org.sonar.plugins.python.api.symbols.Symbol
-
-
Uses of Symbol in org.sonar.plugins.python.api
Methods in org.sonar.plugins.python.api that return types with arguments of type Symbol Modifier and Type Method Description Collection<Symbol>SubscriptionContext. stubFilesSymbols()Returns symbols declared in stub files (e.g. -
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. resolveDeclaredMember(String memberName)Optional<Symbol>InferredType. resolveMember(String memberName) -
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.index
Methods in org.sonar.python.index that return Symbol Modifier and Type Method Description static SymbolDescriptorUtils. symbolFromDescriptor(Descriptor descriptor, ProjectLevelSymbolTable projectLevelSymbolTable, String localSymbolName, Map<Descriptor,Symbol> createdSymbolsByDescriptor, Map<String,Symbol> createdSymbolsByFqn)Methods in org.sonar.python.index with parameters of type Symbol Modifier and Type Method Description static DescriptorDescriptorUtils. descriptor(Symbol symbol)Method parameters in org.sonar.python.index with type arguments of type Symbol Modifier and Type Method Description static SymbolDescriptorUtils. symbolFromDescriptor(Descriptor descriptor, ProjectLevelSymbolTable projectLevelSymbolTable, String localSymbolName, Map<Descriptor,Symbol> createdSymbolsByDescriptor, Map<String,Symbol> createdSymbolsByFqn) -
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 SymbolProjectLevelSymbolTable. getSymbol(String fullyQualifiedName)SymbolProjectLevelSymbolTable. getSymbol(String fullyQualifiedName, String localSymbolName)SymbolProjectLevelSymbolTable. getSymbol(String fullyQualifiedName, String localSymbolName, Map<Descriptor,Symbol> createdSymbolsByDescriptor, Map<String,Symbol> createdSymbolsByFqn)SymbolFunctionSymbolImpl. owner()static SymbolSymbolUtils. typeshedSymbolWithFQN(String fullyQualifiedName)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 Set<Symbol>SymbolUtils. flattenAmbiguousSymbols(Set<Symbol> symbols)Map<String,Symbol>SymbolImpl. getChildrenSymbolByName()Set<Symbol>ProjectLevelSymbolTable. getSymbolsFromModule(String moduleName)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 voidSymbolImpl. addChildSymbol(Symbol symbol)voidClassSymbolImpl. addSuperClass(Symbol symbol)static AmbiguousSymbolAmbiguousSymbolImpl. create(Symbol... symbols)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)static Set<Symbol>SymbolUtils. flattenAmbiguousSymbols(Set<Symbol> symbols)static ProjectLevelSymbolTableProjectLevelSymbolTable. from(Map<String,Set<Symbol>> globalSymbolsByModuleName)SymbolProjectLevelSymbolTable. getSymbol(String fullyQualifiedName, String localSymbolName, Map<Descriptor,Symbol> createdSymbolsByDescriptor, Map<String,Symbol> createdSymbolsByFqn)Constructor parameters in org.sonar.python.semantic with type arguments of type Symbol Constructor Description AmbiguousSymbolImpl(String name, String fullyQualifiedName, Set<Symbol> symbols) -
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 SymbolDeclaredType. getTypeClass()static SymbolTypeShed. symbolWithFQN(String fullyQualifiedName)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 Set<Symbol>DeclaredType. alternativeTypeSymbols()static Map<String,Symbol>TypeShed. builtinSymbols()Optional<Symbol>DeclaredType. resolveDeclaredMember(String memberName)Optional<Symbol>DeclaredType. resolveMember(String memberName)static Collection<Symbol>TypeShed. stubFilesSymbols()Returns stub symbols to be used by SonarSecurity.static Map<String,Symbol>TypeShed. symbolsForModule(String moduleName)Returns map of exported symbols by name for a given modulestatic Set<Symbol>TypeShed. symbolsFromProtobufDescriptors(Set<Object> protobufDescriptors, String containerClassFqn, String moduleName)Methods in org.sonar.python.types with parameters of type Symbol Modifier and Type Method Description static InferredTypeInferredTypes. runtimeType(Symbol typeClass)Constructors in org.sonar.python.types with parameters of type Symbol Constructor Description DeclaredType(Symbol typeClass, List<DeclaredType> typeArgs)
-