Table of Contents

Class: DiagnosticSet qm/diagnostic.py
Methods   
Generate
ReadFromFile
__init__
  Generate 
Generate (
        self,
        tag,
        severity="error",
        output=None,
        **substitutions,
        )

Generate a diagnostic message.

tag
The tag of the diagnostic to generate.
severity
A string representing the severity of the diagnostic, for instance "warning" or "error".
output
If not None, the a file object to which the a full diagnostic is written.
substitutions
Named values for substitution into the diagnostic message.
returns
The bare diagnostic message.
  ReadFromFile 
ReadFromFile ( self,  path )

Load diagnostics from a file.

path
Path to the file containing diagnostics.
  __init__ 
__init__ ( self )

Initialize a new set of diagnostics.


Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1