class documentation

Class for mapping imported functions, variables, etc. to their types

Method __init__ No summary
Method get_imported_type Get the type of an imported function, variable, etc.
Method map Get the import type map
Instance Variable imports Undocumented
Instance Variable root Undocumented
Instance Variable typeshed_resolver Undocumented

Inherited from _StaticAnalyzer:

Static Method read_file Read a file as tokens
Method check Undocumented
Instance Variable file_name Undocumented
def __init__(self, root): (source)
Parameters
rootThe root node of the input source file.
def get_imported_type(self, import_name: str): (source)

Get the type of an imported function, variable, etc.

Parameters
import_name:stra fully qualified name of the function, the variable, etc.
def map(self): (source)

Get the import type map

Undocumented

Undocumented

typeshed_resolver = (source)

Undocumented