class documentation

class AnyExpressionsReporter(AbstractReporter): (source)

View In Hierarchy

Report frequencies of different kinds of Any types.
Method __init__ Undocumented
Method on​_file Undocumented
Method on​_finish Undocumented
Instance Variable any​_types​_counter Undocumented
Instance Variable counts Undocumented
Method _report​_any​_exprs Undocumented
Method _report​_types​_of​_anys Undocumented
Method _write​_out​_report Undocumented

Inherited from AbstractReporter:

Instance Variable output​_dir Undocumented
def __init__(self, reports, output_dir): (source)

Undocumented

Parameters
reports:ReportsUndocumented
output​_dir:strUndocumented
def on_file(self, tree, modules, type_map, options): (source)

Undocumented

Parameters
tree:MypyFileUndocumented
modules:Dict[str, MypyFile]Undocumented
type​_map:Dict[Expression, Type]Undocumented
options:OptionsUndocumented
def on_finish(self): (source)
any_types_counter: Dict[str, typing.Counter[int]] = (source)

Undocumented

counts: Dict[str, Tuple[int, int]] = (source)

Undocumented

def _report_any_exprs(self): (source)

Undocumented

def _report_types_of_anys(self): (source)

Undocumented

def _write_out_report(self, filename, header, rows, footer): (source)

Undocumented

Parameters
filename:strUndocumented
header:List[str]Undocumented
rows:List[List[str]]Undocumented
footer:List[str]Undocumented