Interface PythonType
- All Known Subinterfaces:
UnknownType
- All Known Implementing Classes:
ClassType,FunctionType,LazyType,LazyUnionType,ModuleType,ObjectType,SpecialFormType,UnionType,UnknownType.UnknownTypeImpl,UnknownType.UnresolvedImportType
@Beta
public interface PythonType
PythonType
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<LocationInFile>default TriBooldefault booleanisCompatibleWith(PythonType another) default Stringkey()default Stringname()default Optional<PythonType>resolveMember(String memberName) Attempts to resolve a PythonType's member It should return Optional.empty() when the member doesn't exist, and PythonType.UNKNOWN when the member may exist but can't be resolveddefault TypeSourcedefault PythonType
-
Field Details
-
UNKNOWN
-
-
Method Details
-
name
-
displayName
-
instanceDisplayName
-
isCompatibleWith
-
key
-
resolveMember
Attempts to resolve a PythonType's member It should return Optional.empty() when the member doesn't exist, and PythonType.UNKNOWN when the member may exist but can't be resolved -
hasMember
-
definitionLocation
-
unwrappedType
-
typeSource
-