Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes
Expression.Expression.ParseError Class Reference

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 offset
 content

Detailed Description

Error raised when parsing fails.
It has two members, offset and content, which give the offset of the
error and the offending content.

Definition at line 180 of file Expression.py.


Constructor & Destructor Documentation

def Expression.Expression.ParseError.__init__ (   self,
  expression 
)

Definition at line 186 of file Expression.py.

00186 
00187     def __init__(self, expression):
00188       self.offset = expression.offset
      self.content = expression.content[:3]

Member Function Documentation

Definition at line 189 of file Expression.py.

00189 
00190     def __str__(self):
00191       return 'Unexpected content at offset %i, "%s"'%(self.offset, self.content)


Member Data Documentation

Definition at line 188 of file Expression.py.

Definition at line 187 of file Expression.py.


The documentation for this class was generated from the following file: