| Method Summary |
| |
__init__(self,
descr,
token,
charnum,
is_fatal)
Construct a new colorizing exception. |
string
|
__str__(self)
Return a string representation of this ParseError. |
| Inherited from ParseError |
int
|
__cmp__(self,
other)
Compare two ParseErrors, based on their line number. |
string
|
__repr__(self)
Return the formal representation of this ParseError. |
boolean
|
is_fatal(self)
Return true if this is a fatal error. |
int or None
|
linenum(self)
Return the line number on which the error occured (including any offset). |
None
|
set_linenum_offset(self,
offset)
Set the line number offset for this error. |
| Inherited from Exception |
| |
__getitem__(...)
|