Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
asdl.Token Class Reference
Inheritance diagram for asdl.Token:
Inheritance graph
[legend]
Collaboration diagram for asdl.Token:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def __repr__

Public Attributes

 type
 lineno
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 23 of file asdl.py.


Constructor & Destructor Documentation

def asdl.Token.__init__ (   self,
  type,
  lineno 
)

Reimplemented in asdl.String, and asdl.Id.

Definition at line 26 of file asdl.py.

00026 
00027     def __init__(self, type, lineno):
00028         self.type = type
00029         self.lineno = lineno

Here is the caller graph for this function:


Member Function Documentation

def asdl.Token.__repr__ (   self)

Definition at line 33 of file asdl.py.

00033 
00034     def __repr__(self):
00035         return str(self)

def asdl.Token.__str__ (   self)

Reimplemented in asdl.Id.

Definition at line 30 of file asdl.py.

00030 
00031     def __str__(self):
00032         return self.type


Member Data Documentation

Reimplemented in asdl.String, and asdl.Id.

Definition at line 28 of file asdl.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Reimplemented in asdl.String, and asdl.Id.

Definition at line 27 of file asdl.py.


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