class documentation

class XmlReporter(AbstractXmlReporter): (source)

View In Hierarchy

Public reporter that exports XML.

The produced XML files contain a reference to the absolute path of the html transform, so they will be locally viewable in a browser.

However, there is a bug in Chrome and all other WebKit-based browsers that makes it fail from file:// URLs but work on http:// URLs.

Method on​_file Undocumented
Method on​_finish Undocumented

Inherited from AbstractXmlReporter:

Method __init__ Undocumented
Instance Variable memory​_xml Undocumented

Inherited from AbstractReporter (via AbstractXmlReporter):

Instance Variable output​_dir Undocumented
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)