Module Expr Str Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr AugAssignBitOr NameStore NameLoad If CompareNotEq NameLoad Str body Assign NameStore NameLoad For NameStore NameLoad body If CompareIn NameLoad Str body Pass orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If UnaryOpNot NameLoad body Break orelse Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise TryExcept body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameLoad NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise TryExcept body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str NameLoad NameLoad NameLoad Raise handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Return NameLoad decorator_list decorator_list Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias If Call NameLoad NameLoad NameLoad body Return BinOpBitAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return Num decorator_list decorator_list ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareGtE AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise Call NameLoad AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ImportFrom alias Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad NameLoad NameLoad body Assert Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad AugAssignBitOr AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A 
General classes for bytecode compilers.
Compiler instances are stored into 'space.getexecutioncontext().compiler'.
 N/A sys pypy.interpreter.astcompiler.consts PyCF_DONT_IMPLY_DEDENT pypy.interpreter.error OperationError AbstractCompiler N/A object N/A N/A Abstract base class for a bytecode compiler. __init__ N/A N/A self space N/A N/A N/A N/A self space space N/A N/A self w_compile_hook N/A space w_None N/A compile N/A N/A self source filename mode flags N/A N/A N/A Compile and return an pypy.interpreter.eval.Code instance. N/A NotImplementedError N/A getcodeflags N/A N/A self code N/A N/A N/A Return the __future__ compiler flags that were used to compile
        the given code object. N/A 0 N/A compile_command N/A N/A self source filename mode flags N/A N/A N/A Same as compile(), but tries to compile a possibly partial
        interactive input.  If more input is needed, it returns None.
         N/A space N/A self space N/A flags PyCF_DONT_IMPLY_DEDENT N/A N/A mode eval N/A N/A in_comment False N/A c source N/A N/A N/A c N/A N/A N/A N/A N/A c # N/A N/A in_comment True N/A N/A N/A c N/A N/A in_comment False N/A N/A N/A in_comment N/A N/A N/A N/A source pass N/A N/A N/A code N/A N/A self compile source filename mode flags N/A code N/A N/A N/A OperationError N/A err N/A N/A N/A N/A N/A err match space N/A space w_SyntaxError N/A N/A N/A N/A N/A N/A N/A self compile N/A source filename mode flags N/A None N/A N/A N/A OperationError N/A err1 N/A N/A N/A N/A N/A err1 match space N/A space w_SyntaxError N/A N/A N/A N/A N/A N/A N/A self compile N/A source filename mode flags N/A N/A N/A N/A OperationError N/A err2 N/A N/A N/A N/A N/A err2 match space N/A space w_SyntaxError N/A N/A N/A N/A N/A space eq_w N/A err1 w_value N/A err2 w_value N/A N/A N/A None N/A N/A N/A warnings PyCodeCompiler N/A AbstractCompiler N/A N/A Base class for compilers producing PyCode objects. getcodeflags N/A N/A self code N/A N/A N/A Return the __future__ compiler flags that were used to compile
        the given code object. pypy.interpreter.pycode PyCode N/A N/A isinstance code PyCode N/A N/A N/A N/A code co_flags N/A self compiler_flags N/A N/A 0 N/A N/A pypy.interpreter.pyparser future CPythonCompiler N/A PyCodeCompiler N/A N/A Faked implementation of a compiler, using the underlying compile(). __init__ N/A N/A self space N/A N/A N/A N/A self space space N/A N/A self w_compile_hook N/A space w_None N/A N/A N/A sys version_info 2.5 N/A N/A N/A self compiler_flags N/A N/A future futureFlags_2_5 allowed_flags N/A N/A N/A self compiler_flags N/A N/A future futureFlags_2_4 allowed_flags N/A compile N/A N/A self source filename mode flags N/A N/A N/A space N/A self space N/A N/A N/A old N/A N/A self setup_warn_explicit warnings N/A N/A N/A c N/A compile source filename mode flags True N/A N/A N/A N/A self restore_warn_explicit warnings old N/A N/A N/A SyntaxError N/A e N/A N/A w_synerr N/A N/A space newtuple N/A N/A N/A space wrap N/A e msg N/A N/A space newtuple N/A N/A N/A space wrap N/A e filename N/A N/A space wrap N/A e lineno N/A N/A space wrap N/A e offset N/A N/A space wrap N/A e text N/A N/A OperationError N/A space w_SyntaxError w_synerr N/A N/A UnicodeDecodeError N/A e N/A N/A N/A OperationError N/A space w_UnicodeDecodeError N/A N/A space newtuple N/A N/A N/A space wrap N/A e encoding N/A N/A space wrap N/A e object N/A N/A space wrap N/A e start N/A N/A space wrap N/A e end N/A N/A space wrap N/A e reason N/A N/A ValueError N/A e N/A N/A N/A OperationError N/A space w_ValueError N/A N/A space wrap N/A str e N/A N/A TypeError N/A e N/A N/A N/A OperationError N/A space w_TypeError N/A N/A space wrap N/A str e pypy.interpreter.pycode PyCode N/A N/A N/A PyCode _from_code space c N/A N/A N/A compile _annspecialcase_ override:cpy_compile _warn_explicit N/A N/A self message category filename lineno module registry N/A None None N/A N/A N/A N/A hasattr category __bases__ N/A issubclass category SyntaxWarning N/A N/A N/A isinstance message str N/A space N/A self space N/A w_mod N/A N/A N/A space sys getmodule warnings N/A N/A w_mod None N/A N/A w_dict N/A N/A w_mod getdict N/A w_reg N/A N/A space call_method w_dict setdefault N/A N/A space wrap __warningregistry__ N/A N/A space newdict N/A N/A N/A N/A N/A space call_method w_mod warn_explicit N/A N/A space wrap message N/A space w_SyntaxWarning N/A N/A space wrap filename N/A N/A space wrap lineno N/A space w_None N/A space w_None N/A N/A N/A OperationError N/A e N/A N/A N/A N/A e match space N/A space w_SyntaxWarning N/A N/A N/A OperationError N/A space w_SyntaxError N/A N/A space wrap message N/A N/A setup_warn_explicit N/A N/A self warnings N/A N/A N/A 
        this is a hack until we have our own parsing/compiling
        in place: we bridge certain warnings to the applevel
        warnings module to let it decide what to do with
        a syntax warning ...
         N/A old_warn_explicit N/A warnings warn_explicit N/A N/A warnings warn_explicit N/A self _warn_explicit N/A old_warn_explicit N/A restore_warn_explicit N/A N/A self warnings old_warn_explicit N/A N/A N/A N/A warnings warn_explicit old_warn_explicit N/A N/A PythonAstCompiler N/A PyCodeCompiler N/A N/A Uses the stdlib's python implementation of compiler

    XXX: This class should override the baseclass implementation of
         compile_command() in order to optimize it, especially in case
         of incomplete inputs (e.g. we shouldn't re-compile from sracth
         the whole source after having only added a new '
')
     __init__ N/A N/A self space override_version N/A None N/A pypy.interpreter.pyparser.pyparse PythonParser N/A N/A N/A PyCodeCompiler __init__ self space N/A N/A self parser N/A PythonParser space N/A N/A self additional_rules N/A N/A N/A self future_flags N/A future futureFlags_2_5 N/A N/A self compiler_flags N/A N/A self future_flags allowed_flags N/A compile_ast N/A N/A self node filename mode flags N/A N/A pypy.interpreter.pyparser.pyparse CompileInfo pypy.interpreter.astcompiler.misc parse_future N/A info N/A CompileInfo filename mode flags N/A parse_future node N/A N/A N/A self _compile_ast node info N/A _compile_ast N/A N/A self node info N/A N/A pypy.interpreter.astcompiler optimize pypy.interpreter.astcompiler.codegen compile_ast pypy.interpreter.pyparser.error SyntaxError N/A space N/A self space N/A N/A N/A mod N/A N/A optimize optimize_ast space node info N/A code N/A compile_ast space mod info N/A N/A N/A SyntaxError N/A e N/A N/A N/A OperationError N/A space w_SyntaxError N/A N/A e wrap_info space N/A code N/A compile_to_ast N/A N/A self source filename mode flags N/A N/A pypy.interpreter.pyparser.pyparse CompileInfo N/A info N/A CompileInfo filename mode flags N/A N/A N/A self _compile_to_ast source info N/A _compile_to_ast N/A N/A self source info N/A N/A pypy.interpreter.pyparser.future get_futures pypy.interpreter.pyparser.error SyntaxError IndentationError TokenIndentationError pypy.interpreter.astcompiler.astbuilder ast_from_node N/A space N/A self space N/A N/A N/A N/A f_flags future_info N/A get_futures N/A self future_flags source N/A N/A info last_future_import future_info N/A N/A info flags f_flags N/A parse_tree N/A N/A N/A self parser parse_source source info N/A mod N/A ast_from_node space parse_tree info N/A N/A N/A IndentationError N/A e N/A N/A N/A OperationError N/A space w_IndentationError N/A N/A e wrap_info space N/A N/A TokenIndentationError N/A e N/A N/A N/A OperationError N/A space w_IndentationError N/A N/A e wrap_info space N/A N/A SyntaxError N/A e N/A N/A N/A OperationError N/A space w_SyntaxError N/A N/A e wrap_info space N/A mod N/A compile N/A N/A self source filename mode flags N/A N/A pypy.interpreter.pyparser.pyparse CompileInfo N/A info N/A CompileInfo filename mode flags N/A mod N/A N/A self _compile_to_ast source info N/A N/A N/A self _compile_ast mod info N/A N/A