Uses of Interface
org.sonar.python.types.v2.PythonType
Packages that use PythonType
Package
Description
-
Uses of PythonType in org.sonar.plugins.python.api.tree
Methods in org.sonar.plugins.python.api.tree that return PythonTypeModifier and TypeMethodDescriptiondefault PythonTypeExpression.typeV2()default PythonTypeQualifiedExpression.typeV2() -
Uses of PythonType in org.sonar.python.semantic.v2
Classes in org.sonar.python.semantic.v2 with type parameters of type PythonTypeMethods in org.sonar.python.semantic.v2 that return PythonTypeModifier and TypeMethodDescriptionSymbolsModuleTypeProvider.convertModuleType(List<String> moduleFqn, ModuleType parent) LazyTypesContext.resolveLazyType(LazyType lazyType) Methods in org.sonar.python.semantic.v2 that return types with arguments of type PythonTypeMethods in org.sonar.python.semantic.v2 with parameters of type PythonTypeModifier and TypeMethodDescriptionClassTypeBuilder.addSuperClass(PythonType type) FunctionTypeBuilder.withOwner(PythonType owner) FunctionTypeBuilder.withReturnType(PythonType returnType) ClassTypeBuilder.withSuperClasses(PythonType... types) Method parameters in org.sonar.python.semantic.v2 with type arguments of type PythonTypeModifier and TypeMethodDescriptionFunctionTypeBuilder.withAttributes(List<PythonType> attributes) ObjectTypeBuilder.withAttributes(List<PythonType> attributes) -
Uses of PythonType in org.sonar.python.semantic.v2.converter
Methods in org.sonar.python.semantic.v2.converter that return PythonTypeModifier and TypeMethodDescriptionAmbiguousDescriptorToPythonTypeConverter.convert(ConversionContext ctx, AmbiguousDescriptor from) AmbiguousDescriptorToPythonTypeConverter.convert(ConversionContext ctx, Descriptor from) AnyDescriptorToPythonTypeConverter.convert(Descriptor from) ClassDescriptorToPythonTypeConverter.convert(ConversionContext ctx, Descriptor from) ConversionContext.convert(Descriptor from) DescriptorToPythonTypeConverter.convert(ConversionContext ctx, Descriptor from) FunctionDescriptorToPythonTypeConverter.convert(ConversionContext ctx, Descriptor from) FunctionDescriptorToPythonTypeConverter.convert(ConversionContext ctx, FunctionDescriptor from) TypeAnnotationToPythonTypeConverter.convert(ConversionContext context, TypeAnnotationDescriptor type) UnknownDescriptorToPythonTypeConverter.convert(ConversionContext ctx, Descriptor from) VariableDescriptorToPythonTypeConverter.convert(ConversionContext ctx, Descriptor from) VariableDescriptorToPythonTypeConverter.convert(ConversionContext ctx, VariableDescriptor from) ConversionContext.currentParent()ConversionContext.pollParent()Methods in org.sonar.python.semantic.v2.converter with parameters of type PythonType -
Uses of PythonType in org.sonar.python.semantic.v2.types
Methods in org.sonar.python.semantic.v2.types that return PythonTypeModifier and TypeMethodDescriptionAssignment.rhsType()Definition.rhsType()LoopAssignment.rhsType()ParameterDefinition.rhsType()abstract PythonTypePropagation.rhsType()Method parameters in org.sonar.python.semantic.v2.types with type arguments of type PythonTypeModifier and TypeMethodDescriptionvoidTypeInferenceProgramState.setTypes(SymbolV2 symbol, Set<PythonType> types) -
Uses of PythonType in org.sonar.python.tree
Methods in org.sonar.python.tree that return PythonTypeModifier and TypeMethodDescriptionBinaryExpressionImpl.typeV2()CallExpressionImpl.typeV2()ComprehensionExpressionImpl.typeV2()DictCompExpressionImpl.typeV2()DictionaryLiteralImpl.typeV2()ListLiteralImpl.typeV2()NameImpl.typeV2()NoneExpressionImpl.typeV2()NumericLiteralImpl.typeV2()SetLiteralImpl.typeV2()StringLiteralImpl.typeV2()TupleImpl.typeV2()Methods in org.sonar.python.tree with parameters of type PythonTypeModifier and TypeMethodDescriptionvoidComprehensionExpressionImpl.typeV2(PythonType type) voidDictCompExpressionImpl.typeV2(PythonType type) DictionaryLiteralImpl.typeV2(PythonType pythonType) voidListLiteralImpl.typeV2(PythonType type) NameImpl.typeV2(PythonType pythonType) voidNoneExpressionImpl.typeV2(PythonType pythonType) voidNumericLiteralImpl.typeV2(PythonType type) SetLiteralImpl.typeV2(PythonType pythonType) voidStringLiteralImpl.typeV2(PythonType type) TupleImpl.typeV2(PythonType pythonType) -
Uses of PythonType in org.sonar.python.types.v2
Classes in org.sonar.python.types.v2 that implement PythonTypeModifier and TypeClassDescriptionfinal classClassTypefinal classFunctionTypeclassclassfinal classfinal classfinal recordfinal recordFields in org.sonar.python.types.v2 declared as PythonTypeMethods in org.sonar.python.types.v2 that return PythonTypeModifier and TypeMethodDescriptionstatic PythonTypeTypeUtils.ensureWrappedObjectType(PythonType pythonType) static PythonTypeUnionType.or(Collection<PythonType> candidates) static PythonTypeUnionType.or(PythonType type1, PythonType type2) FunctionType.owner()LazyType.resolve()LazyUnionType.resolve()ResolvableType.resolve()FunctionType.returnType()LazyTypeWrapper.type()Member.type()Returns the value of thetyperecord component.ObjectType.type()SimpleTypeWrapper.type()TypeWrapper.type()LazyType.unwrappedType()ObjectType.unwrappedType()default PythonTypePythonType.unwrappedType()Methods in org.sonar.python.types.v2 that return types with arguments of type PythonTypeModifier and TypeMethodDescriptionClassType.attributes()FunctionType.attributes()ObjectType.attributes()UnionType.candidates()Returns the value of thecandidatesrecord component.ModuleType.members()ClassType.metaClasses()ClassType.resolveMember(String memberName) LazyType.resolveMember(String memberName) ModuleType.resolveMember(String memberName) ObjectType.resolveMember(String memberName) default Optional<PythonType>PythonType.resolveMember(String memberName) Methods in org.sonar.python.types.v2 with parameters of type PythonTypeModifier and TypeMethodDescriptionTypeCheckBuilder.check(PythonType pythonType) static PythonTypeTypeUtils.ensureWrappedObjectType(PythonType pythonType) booleanClassType.isCompatibleWith(PythonType another) booleanLazyType.isCompatibleWith(PythonType another) booleanObjectType.isCompatibleWith(PythonType another) default booleanPythonType.isCompatibleWith(PythonType another) booleanUnionType.isCompatibleWith(PythonType another) booleanUnknownType.isCompatibleWith(PythonType another) static TypeWrapperTypeWrapper.of(PythonType type) static PythonTypeUnionType.or(PythonType type1, PythonType type2) LazyType.resolve(PythonType type) voidLazyTypeWrapper.resolveLazyType(PythonType pythonType) Method parameters in org.sonar.python.types.v2 with type arguments of type PythonTypeModifier and TypeMethodDescriptionLazyType.addConsumer(Consumer<PythonType> consumer) static PythonTypeUnionType.or(Collection<PythonType> candidates) Constructors in org.sonar.python.types.v2 with parameters of type PythonTypeModifierConstructorDescriptionFunctionType(String name, List<PythonType> attributes, List<ParameterV2> parameters, TypeWrapper returnType, TypeOrigin typeOrigin, boolean isAsynchronous, boolean hasDecorators, boolean isInstanceMethod, boolean hasVariadicParameter, PythonType owner, LocationInFile locationInFile) LazyTypeWrapper(PythonType type) Member(String name, PythonType type) Creates an instance of aMemberrecord class.ObjectType(PythonType type) ObjectType(PythonType type, List<PythonType> attributes, List<Member> members) ObjectType(PythonType type, List<PythonType> attributes, List<Member> members, TypeSource typeSource) ObjectType(PythonType type, TypeSource typeSource) SimpleTypeWrapper(PythonType type) Constructor parameters in org.sonar.python.types.v2 with type arguments of type PythonTypeModifierConstructorDescriptionClassType(String name, Set<Member> members, List<PythonType> attributes, List<TypeWrapper> superClasses, List<PythonType> metaClasses, boolean hasDecorators, LocationInFile locationInFile) FunctionType(String name, List<PythonType> attributes, List<ParameterV2> parameters, TypeWrapper returnType, TypeOrigin typeOrigin, boolean isAsynchronous, boolean hasDecorators, boolean isInstanceMethod, boolean hasVariadicParameter, PythonType owner, LocationInFile locationInFile) LazyUnionType(Set<PythonType> candidates) ModuleType(String name, ModuleType parent, Map<String, PythonType> members) ObjectType(PythonType type, List<PythonType> attributes, List<Member> members) ObjectType(PythonType type, List<PythonType> attributes, List<Member> members, TypeSource typeSource) ObjectType(TypeWrapper typeWrapper, List<PythonType> attributes, List<Member> members, TypeSource typeSource) UnionType(Set<PythonType> candidates) Creates an instance of aUnionTyperecord class.