Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__
def __repr__

Public Attributes

 type
 value
 lineno
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 36 of file asdl.py.


Constructor & Destructor Documentation

def asdl.Id.__init__ (   self,
  value,
  lineno 
)

Reimplemented from asdl.Token.

Definition at line 37 of file asdl.py.

00037 
00038     def __init__(self, value, lineno):
00039         self.type = 'Id'
00040         self.value = value
00041         self.lineno = lineno

Here is the caller graph for this function:


Member Function Documentation

def asdl.Token.__repr__ (   self) [inherited]

Definition at line 33 of file asdl.py.

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

def asdl.Id.__str__ (   self)

Reimplemented from asdl.Token.

Definition at line 42 of file asdl.py.

00042 
00043     def __str__(self):
00044         return self.value


Member Data Documentation

Reimplemented from asdl.Token.

Definition at line 40 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 from asdl.Token.

Definition at line 38 of file asdl.py.

Definition at line 39 of file asdl.py.


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