parser (version 0.5)
index
/usr/lib/python2.2/lib-dynload/parser.so

This is an interface to Python's internal parser.

 
Classes
            
exceptions.Exception
ParserError
__builtin__.object
st
st
 
ASTType = class st(__builtin__.object)
      Intermediate representation of a Python parse tree.
 
   Methods defined here:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)

Methods inherited from __builtin__.object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__hash__(...)
x.__hash__() <==> hash(x)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__reduce__(...)
helper for pickle
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from __builtin__.object:
__class__ = <type 'type'>
the object's class
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
 
class ParserError(exceptions.Exception)
       
   Data and non-method functions defined here:
__doc__ = None
__module__ = 'parser'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
STType = class st(__builtin__.object)
      Intermediate representation of a Python parse tree.
 
   Methods defined here:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)

Methods inherited from __builtin__.object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__hash__(...)
x.__hash__() <==> hash(x)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__reduce__(...)
helper for pickle
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from __builtin__.object:
__class__ = <type 'type'>
the object's class
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
 
Functions
            
_pickler(...)
Returns the pickle magic to allow ST objects to be pickled.
ast2list(...)
Creates a list-tree representation of an ST.
ast2tuple(...)
Creates a tuple-tree representation of an ST.
compileast(...)
Compiles an ST object into a code object.
compilest(...)
Compiles an ST object into a code object.
expr(...)
Creates an ST object from an expression.
isexpr(...)
Determines if an ST object was created from an expression.
issuite(...)
Determines if an ST object was created from a suite.
sequence2ast(...)
Creates an ST object from a tree representation.
sequence2st(...)
Creates an ST object from a tree representation.
st2list(...)
Creates a list-tree representation of an ST.
st2tuple(...)
Creates a tuple-tree representation of an ST.
suite(...)
Creates an ST object from a suite.
tuple2ast(...)
Creates an ST object from a tree representation.
tuple2st(...)
Creates an ST object from a tree representation.
 
Data
             __copyright__ = 'Copyright 1995-1996 by Virginia Polytechnic Ins...thematisch\nCentrum, Amsterdam, The Netherlands.'
__file__ = '/usr/lib/python2.2/lib-dynload/parser.so'
__name__ = 'parser'
__version__ = '0.5'