Uses of Interface
org.sonar.plugins.python.api.symbols.Symbol
Packages that use Symbol
Package
Description
-
Uses of Symbol in org.sonar.plugins.python.api
Methods in org.sonar.plugins.python.api that return types with arguments of type SymbolModifier and TypeMethodDescriptionPythonInputFileContext.stubFilesSymbols()SubscriptionContext.stubFilesSymbols()Returns symbols declared in stub files (e.g. typeshed) used in the analyzed project. -
Uses of Symbol in org.sonar.plugins.python.api.symbols
Subinterfaces of Symbol in org.sonar.plugins.python.api.symbolsModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceMethods in org.sonar.plugins.python.api.symbols that return types with arguments of type SymbolModifier and TypeMethodDescriptionAmbiguousSymbol.alternatives()ClassSymbol.declaredMembers()ClassSymbol.resolveMember(String memberName) ClassSymbol.superClasses() -
Uses of Symbol in org.sonar.plugins.python.api.tree
Methods in org.sonar.plugins.python.api.tree that return SymbolModifier and TypeMethodDescriptiondefault SymbolCallExpression.calleeSymbol()HasSymbol.symbol()default SymbolQualifiedExpression.symbol()Returns the symbol ofQualifiedExpression.name()Methods in org.sonar.plugins.python.api.tree that return types with arguments of type SymbolModifier and TypeMethodDescriptionClassDef.classFields()Contains fields and methods symbolsFileInput.globalVariables()ClassDef.instanceFields()ComprehensionExpression.localVariables()local variables are following python3 scoping rules for comprehension expressions.DictCompExpression.localVariables()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 SymbolModifier and TypeMethodDescriptionInferredType.resolveDeclaredMember(String memberName) 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 SymbolModifier and TypeFieldDescriptionCfgBlockState.genvariables that are being read in the blockCfgBlockState.killvariables that are being written in the blockprotected final Map<Tree,Map<Symbol, ReadWriteVisitor.SymbolReadWrite>> CfgBlockState.variableReadWritesPerElementMethods in org.sonar.python.cfg.fixpoint that return types with arguments of type SymbolModifier and TypeMethodDescriptionCfgBlockState.getGen()DefinedVariablesAnalysis.DefinedVariables.getIn()LiveVariablesAnalysis.LiveVariables.getIn()CfgBlockState.getKill()DefinedVariablesAnalysis.DefinedVariables.getOut()LiveVariablesAnalysis.LiveVariables.getOut()LiveVariablesAnalysis.getReadSymbols()CfgBlockState.getSymbolReadWrites(Tree tree) ReadWriteVisitor.symbolToUsages()Methods in org.sonar.python.cfg.fixpoint with parameters of type SymbolMethod parameters in org.sonar.python.cfg.fixpoint with type arguments of type SymbolModifier and TypeMethodDescriptionstatic DefinedVariablesAnalysisDefinedVariablesAnalysis.analyze(ControlFlowGraph cfg, Set<Symbol> localVariables) DefinedVariablesAnalysis.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 SymbolModifier and TypeMethodDescriptionstatic SymbolDescriptorUtils.symbolFromDescriptor(Descriptor descriptor, ProjectLevelSymbolTable projectLevelSymbolTable, String localSymbolName, Map<Descriptor, Symbol> createdSymbolsByDescriptor, Map<String, Symbol> createdSymbolsByFqn) Method parameters in org.sonar.python.index with type arguments of type SymbolModifier and TypeMethodDescriptionstatic 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 SymbolModifier and TypeClassDescriptionclassclassclassclassMethods in org.sonar.python.semantic that return SymbolModifier and TypeMethodDescriptionProjectLevelSymbolTable.getSymbol(String fullyQualifiedName, String localSymbolName, Map<Descriptor, Symbol> createdSymbolsByDescriptor, Map<String, Symbol> createdSymbolsByFqn) FunctionSymbolImpl.owner()static SymbolSymbolUtils.typeshedSymbolWithFQN(String fullyQualifiedName) Methods in org.sonar.python.semantic that return types with arguments of type SymbolModifier and TypeMethodDescriptionAmbiguousSymbolImpl.alternatives()ClassSymbolImpl.declaredMembers()SymbolUtils.flattenAmbiguousSymbols(Set<Symbol> symbols) SymbolImpl.getChildrenSymbolByName()ProjectLevelSymbolTable.getSymbolsFromModule(String moduleName) ClassSymbolImpl.resolveMember(String memberName) ProjectLevelSymbolTable.stubFilesSymbols()Returns stub symbols to be used by SonarSecurity.ClassSymbolImpl.superClasses()Methods in org.sonar.python.semantic with parameters of type SymbolModifier and TypeMethodDescriptionvoidSymbolImpl.addChildSymbol(Symbol symbol) voidClassSymbolImpl.addSuperClass(Symbol symbol) static AmbiguousSymbolstatic List<FunctionSymbol>SymbolUtils.getFunctionSymbols(Symbol symbol) voidMethod parameters in org.sonar.python.semantic with type arguments of type SymbolModifier and TypeMethodDescriptionvoidClassSymbolImpl.addMembers(Collection<Symbol> members) static AmbiguousSymbolSymbolUtils.flattenAmbiguousSymbols(Set<Symbol> symbols) ProjectLevelSymbolTable.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 SymbolModifierConstructorDescriptionAmbiguousSymbolImpl(String name, String fullyQualifiedName, Set<Symbol> symbols) -
Uses of Symbol in org.sonar.python.tree
Methods in org.sonar.python.tree that return SymbolMethods in org.sonar.python.tree that return types with arguments of type SymbolModifier and TypeMethodDescriptionClassDefImpl.classFields()TreeUtils.getSymbolFromTree(Tree tree) FileInputImpl.globalVariables()ClassDefImpl.instanceFields()ComprehensionExpressionImpl.localVariables()DictCompExpressionImpl.localVariables()FunctionDefImpl.localVariables()LambdaExpressionImpl.localVariables()Methods in org.sonar.python.tree with parameters of type SymbolModifier and TypeMethodDescriptionvoidClassDefImpl.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) void -
Uses of Symbol in org.sonar.python.types
Methods in org.sonar.python.types that return SymbolModifier and TypeMethodDescriptionDeclaredType.getTypeClass()static SymbolTypeShed.symbolWithFQN(String fullyQualifiedName) static SymbolTypeShed.symbolWithFQN(String stdLibModuleName, String fullyQualifiedName) UnknownClassType.typeSymbol()Methods in org.sonar.python.types that return types with arguments of type SymbolModifier and TypeMethodDescriptionDeclaredType.alternativeTypeSymbols()TypeShed.builtinSymbols()TypeShed.getLoadedTypeShedSymbols()DeclaredType.resolveDeclaredMember(String memberName) RuntimeType.resolveDeclaredMember(String memberName) UnknownClassType.resolveDeclaredMember(String memberName) DeclaredType.resolveMember(String memberName) RuntimeType.resolveMember(String memberName) UnknownClassType.resolveMember(String memberName) static Collection<Symbol>TypeShed.stubFilesSymbols()Returns stub symbols to be used by SonarSecurity.TypeShed.symbolsForModule(String moduleName) Returns map of exported symbols by name for a given moduleTypeShed.symbolsFromProtobufDescriptors(Set<Object> protobufDescriptors, String containerClassFqn, String moduleName, boolean isFromClass) Methods in org.sonar.python.types with parameters of type SymbolModifier and TypeMethodDescriptionstatic InferredTypeInferredTypes.anyOrUnknownClassType(Symbol symbol) Assumes unknown imported symbols whose name start with a capital letter to be classes.static InferredTypeInferredTypes.runtimeType(Symbol typeClass) Method parameters in org.sonar.python.types with type arguments of type SymbolModifier and TypeMethodDescriptionstatic DeclaredTypeInferredTypes.declaredUnionType(Expression leftOperand, Expression rightOperand, Map<String, Symbol> builtinSymbols) Constructors in org.sonar.python.types with parameters of type SymbolModifierConstructorDescriptionDeclaredType(Symbol typeClass, List<DeclaredType> typeArgs) UnknownClassType(Symbol typeSymbol)