Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
asdl.ASDLSyntaxError Class Reference
Inheritance diagram for asdl.ASDLSyntaxError:
Inheritance graph
Collaboration diagram for asdl.ASDLSyntaxError:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

Definition at line 51 of file

Constructor & Destructor Documentation

def asdl.ASDLSyntaxError.__init__ (   self,
  token = None,
  msg = None 

Definition at line 53 of file

00054     def __init__(self, lineno, token=None, msg=None):
00055         self.lineno = lineno
00056         self.token = token
00057         self.msg = msg

Here is the caller graph for this function:

Member Function Documentation

Definition at line 58 of file

00059     def __str__(self):
00060         if self.msg is None:
00061             return "Error at '%s', line %d" % (self.token, self.lineno)
00062         else:
00063             return "%s, line %d" % (self.msg, self.lineno)

Member Data Documentation

Definition at line 54 of file

Definition at line 56 of file

Definition at line 55 of file

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