class documentation
class TypeAnalyzerPluginInterface: (source)
Known subclasses: mypy.typeanal.TypeAnalyser
Interface for accessing semantic analyzer functionality in plugins. Methods docstrings contain only basic info. Look for corresponding implementation docstrings in typeanal.py for more details.
Method | analyze |
Find types, kinds, and names of arguments from extended callable syntax. |
Method | analyze |
Analyze an unbound type using the default mypy logic. |
Method | fail |
Emit an error message at given location. |
Method | named |
Construct an instance of a builtin type with given name. |
Class Variable | options |
Undocumented |
@abstractmethod
def analyze_callable_args(self, arglist:
def analyze_callable_args(self, arglist:
TypeList
) -> tuple[ list[ Type], list[ ArgKind], list[ str|None]]|None
:
(source)
¶
overridden in
mypy.typeanal.TypeAnalyser
Find types, kinds, and names of arguments from extended callable syntax.