Package qm :: Package test :: Package classes :: Module compiler :: Class EDG
[hide private]
[frames] | no frames]

Class EDG

source code

Compiler --+
           |
          EDG

An 'EDG' is an Edison Design Group compiler.

Instance Methods [hide private]
 
ParseOutput(self, output, ignore_regexps=())
Return the 'Diagnostic's indicated in the 'output'.
source code

Inherited from Compiler: Compile, ExecuteCommand, GetCompilationCommand, GetExecutableExtension, GetLDFlags, GetObjectExtension, GetOptions, GetPath, SetLDFlags, SetOptions, __init__

Inherited from Compiler (private): _GetModeSwitches

Class Variables [hide private]
  __diagnostic_regexp = re.compile('^"(?P<file>.*)", line (?P<li...

Inherited from Compiler: MODE_ASSEMBLE, MODE_COMPILE, MODE_LINK, MODE_PREPROCESS, modes

Method Details [hide private]

ParseOutput(self, output, ignore_regexps=())

source code 

Return the 'Diagnostic's indicated in the 'output'.

'output' -- A string giving the output from the compiler.

'ignore_regexps' -- A sequence of regular expressions. If a diagnostic message matches one of these regular expressions, it will be ignored.

returns -- A list of 'Diagnostic's corresponding to the messages indicated in 'output', in the order that they were emitted.

Overrides: Compiler.ParseOutput

Class Variable Details [hide private]

__diagnostic_regexp

Value:
re.compile('^"(?P<file>.*)", line (?P<line>.*): ' '(?P<severity>.*): (\
?P<message>.*)$')