class ColorizingError(ParseError):
Method | __init__ |
Construct a new colorizing exception. |
Method | descr |
|
Constant | CONTEXT_RANGE |
Undocumented |
Instance Variable | charnum |
Undocumented |
Instance Variable | token |
Undocumented |
Inherited from ParseError
:
Method | __repr__ |
Return the formal representation of this ParseError. ParseErrors have formal representations of the form:: <ParseError on line 12> |
Method | __str__ |
Return a string representation of this ParseError. This multi-line string contains a description of the error, and specifies where it occured. |
Method | is_fatal |
|
Method | linenum |
|
Instance Variable | _descr |
Undocumented |
Instance Variable | _fatal |
Undocumented |
Instance Variable | _linenum |
Undocumented |
Parameters | |
descr:str | A short description of the error. |
token:Token | The token where the error occured |
charnum:int | The character index of the position in token where the error occured. |
is_fatal:bool | Undocumented |
pydoctor.epydoc.markup.ParseError.descr
Returns | |
str | A description of the error. |