Package org.sonar.python.semantic.v2
Class ProjectLevelTypeTable
java.lang.Object
org.sonar.python.semantic.v2.ProjectLevelTypeTable
- All Implemented Interfaces:
TypeTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetModuleType(List<String> typeFqnParts) This method returns a module type for a given FQN, or unknown if it cannot be resolved.
-
Constructor Details
-
ProjectLevelTypeTable
-
-
Method Details
-
getBuiltinsModule
- Specified by:
getBuiltinsModulein interfaceTypeTable
-
getType
-
getType
-
getType
-
getModuleType
This method returns a module type for a given FQN, or unknown if it cannot be resolved. It is to be used to retrieve modules referenced in the "from" clause of an "import from" statement, as it will only consider submodules over package members in case of name conflict.- Specified by:
getModuleTypein interfaceTypeTable
-
lazyTypesContext
-