class documentation

class MemoryXmlReporter(AbstractReporter): (source)

View In Hierarchy

Internal reporter that generates XML in memory.

This is used by all other XML-based reporters to avoid duplication.

Method __init__ Undocumented
Method on​_file Undocumented
Method on​_finish Undocumented
Constant control​_fixer Undocumented
Instance Variable css​_html​_path Undocumented
Instance Variable files Undocumented
Instance Variable last​_xml Undocumented
Instance Variable schema Undocumented
Instance Variable xslt​_html​_path Undocumented
Instance Variable xslt​_txt​_path Undocumented
Static Method _get​_any​_info​_for​_line 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)
control_fixer = (source)

Undocumented

Value
str.maketrans("""""".join((chr(i) for i in range(32) if i != 9)), '?'*31)
css_html_path = (source)

Undocumented

files: List[FileInfo] = (source)

Undocumented

last_xml = (source)

Undocumented

schema = (source)

Undocumented

xslt_html_path = (source)

Undocumented

xslt_txt_path = (source)

Undocumented

@staticmethod
def _get_any_info_for_line(visitor, lineno): (source)

Undocumented

Parameters
visitor:stats.StatisticsVisitorUndocumented
lineno:intUndocumented
Returns
strUndocumented