Trees Indices Help
Python Standard Library
Package compiler :: Module pycodegen
[]

Module pycodegen

Classes [hide private]
AbstractCompileMode Expression Interactive Module LocalNameFinder
Find local names in scope CodeGenerator
Defines basic code generator for Python bytecode NestedScopeMixin
Defines initClass() for nested scoping (Python 2.2-compatible) ModuleCodeGenerator ExpressionCodeGenerator InteractiveCodeGenerator AbstractFunctionCode FunctionCodeGenerator GenExprCodeGenerator AbstractClassCode ClassCodeGenerator OpFinder Delegator
Base class to support delegation for augmented assignment nodes AugGetattr AugName AugSlice AugSubscript
Functions [hide private]
compileFile(filename, display=0)
compile(source, filename, mode, flags=None, dont_inherit=None)
Replacement for builtin compile() function
is_constant_false(node)
generateArgList(arglist)
Generate an arg list marking TupleArgs
findOp(node)
Find the op (DELETE, LOAD, STORE) in an AssTuple tree
wrap_aug(node)
Variables [hide private]
VERSION = 2 callfunc_opcode_info = {(0, 0): 'CALL_FUNCTION', (0, 1): 'CALL... LOOP = 1 EXCEPT = 2 TRY_FINALLY = 3 END_FINALLY = 4 wrapper = {ast.Getattr: AugGetattr, ast.Name: AugName, ast.Sli...

Imports: imp, os, marshal, struct, sys, StringIO, ast, parse, walk, syntax, pyassem, misc, future, symbols, SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL, CO_VARARGS, CO_VARKEYWORDS, CO_NEWLOCALS, CO_NESTED, CO_GENERATOR, CO_FUTURE_DIVISION, CO_FUTURE_ABSIMPORT, CO_FUTURE_WITH_STATEMENT, TupleArg


Variables Details [hide private]

callfunc_opcode_info

Value:
{(0, 0): 'CALL_FUNCTION',
 (0, 1): 'CALL_FUNCTION_KW',
 (1, 0): 'CALL_FUNCTION_VAR',
 (1, 1): 'CALL_FUNCTION_VAR_KW'}

wrapper

Value:
{ast.Getattr: AugGetattr, ast.Name: AugName, ast.Slice: AugSlice, ast.\
Subscript: AugSubscript,}

Trees Indices Help
Python Standard Library

AltStyle によって変換されたページ (->オリジナル) /