Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
asdl.String Class Reference
Inheritance diagram for asdl.String:
Inheritance graph
[legend]
Collaboration diagram for asdl.String:
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 45 of file asdl.py.


Constructor & Destructor Documentation

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

Reimplemented from asdl.Token.

Definition at line 46 of file asdl.py.

00046 
00047     def __init__(self, value, lineno):
00048         self.type = 'String'
00049         self.value = value
00050         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.Token.__str__ (   self) [inherited]

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 from asdl.Token.

Definition at line 49 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 47 of file asdl.py.

Definition at line 48 of file asdl.py.


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