Back to module index
Go to module by name
parser
This is an interface to Python's internal parser.
Classes
ParserError
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
st
Intermediate representation of a Python parse tree.
compile(...)
Compile this ST object into a code object.
isexpr(...)
Determines if this ST object was created from an expression.
issuite(...)
Determines if this ST object was created from a suite.
tolist(...)
Creates a list-tree representation of this ST.
totuple(...)
Creates a tuple-tree representation of this ST.
Functions
compilest
compilest(...)
Compiles an ST object into a code object.
expr
expr(...)
Creates an ST object from an expression.
isexpr
isexpr(...)
Determines if an ST object was created from an expression.
issuite
issuite(...)
Determines if an ST object was created from a suite.
sequence2st
sequence2st(...)
Creates an ST object from a tree representation.
st2list
st2list(...)
Creates a list-tree representation of an ST.
st2tuple
st2tuple(...)
Creates a tuple-tree representation of an ST.
suite
suite(...)
Creates an ST object from a suite.
tuple2st
tuple2st(...)
Creates an ST object from a tree representation.