Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
lib2to3.pgen2.pgen.NFAState Class Reference
Inheritance diagram for lib2to3.pgen2.pgen.NFAState:
Inheritance graph
[legend]
Collaboration diagram for lib2to3.pgen2.pgen.NFAState:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def addarc

Public Attributes

 arcs
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 337 of file pgen.py.


Constructor & Destructor Documentation

Definition at line 339 of file pgen.py.

00339 
00340     def __init__(self):
00341         self.arcs = [] # list of (label, NFAState) pairs

Here is the caller graph for this function:


Member Function Documentation

def lib2to3.pgen2.pgen.NFAState.addarc (   self,
  next,
  label = None 
)

Definition at line 342 of file pgen.py.

00342 
00343     def addarc(self, next, label=None):
00344         assert label is None or isinstance(label, str)
00345         assert isinstance(next, NFAState)
00346         self.arcs.append((label, next))


Member Data Documentation

Definition at line 340 of file pgen.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


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