Package pyraf :: Module cl2py :: Class ErrorTracker
[hide private]
[frames] | no frames]

Class ErrorTracker

source code


Mixin class that does error tracking during AST traversal

Instance Methods [hide private]
 
_error_init(self) source code
 
error(self, msg, node=None)
Add error to the list with line number
source code
 
warning(self, msg, node=None)
Add warning to the list with line number
source code
 
getlineno(self, node) source code
 
errorappend(self, other)
Add errors from another ErrorTracker
source code
 
printerrors(self)
Print all warnings and errors and raise SyntaxError if errors were found
source code