# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ This is an interface to Python's internal parser. """ class ParserError(Exception): pass class STType(object): """ Intermediate representation of a Python parse tree. """ def compile(self): """ Compile this ST object into a code object. """ pass def isexpr(self): """ Determines if this ST object was created from an expression. """ pass def issuite(self): """ Determines if this ST object was created from a suite. """ pass def tolist(self): """ Creates a list-tree representation of this ST. """ pass def totuple(self): """ Creates a tuple-tree representation of this ST. """ pass __copyright__ = """Copyright 1995-1996 by Virginia Polytechnic Institute & State University, Blacksburg, Virginia, USA, and Fred L. Drake, Jr., Reston, Virginia, USA. Portions copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands.""" __doc__ = "This is an interface to Python's internal parser." class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ def find_module(self, cls, fullname, path): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. """ pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self): """ Load a built-in module. """ pass def module_repr(self, cls, module): pass __name__ = 'parser' __package__ = '' __version__ = '0.5' def _pickler(): """ Returns the pickle magic to allow ST objects to be pickled. """ pass def compilest(): """ Compiles an ST object into a code object. """ pass def expr(): """ Creates an ST object from an expression. """ pass def isexpr(): """ Determines if an ST object was created from an expression. """ pass def issuite(): """ Determines if an ST object was created from a suite. """ pass def sequence2st(): """ Creates an ST object from a tree representation. """ pass def st2list(): """ Creates a list-tree representation of an ST. """ pass def st2tuple(): """ Creates a tuple-tree representation of an ST. """ pass def suite(): """ Creates an ST object from a suite. """ pass def tuple2st(): """ Creates an ST object from a tree representation. """ pass