[show private | hide private]

epydoc.epytext
Class epydoc.epytext.TokenizationError

Exception --+    
            |    
   ParseError --+
                |
               TokenizationError


A warning or error generated while tokenizing a formatted documentation string.
Method Summary
  __init__(self, descr, linenum, line)
Construct a new tokenization exception.
int __cmp__(self, other)
Compare two ParseErrors, based on their line number. (inherited from ParseError)
string __repr__(self)
Return the formal representation of this ParseError. (inherited from ParseError)
string __str__(self)
Return the informal string representation of this ParseError. (inherited from ParseError)
string as_error(self)
Return a string representation of this ParseError. (inherited from ParseError)
string as_warning(self)
Return a string representation of this ParseError. (inherited from ParseError)

Instance Variable Summary
string line - The line where the TokenizationError occured.

Method Details

Constructor

__init__(self, descr, linenum, line)

Construct a new tokenization exception.
Parameters:
descr - A short description of the error.
           (type=string)
linenum - The line number within the docstring that the error occured on.
           (type=int)
line - The line that the error occured on
           (type=string)

Instance Variable Details

line

The line where the TokenizationError occured.
Type: string

Generated by Epydoc on Sun Oct 6 03:32:12 2002 http://epydoc.sf.net