� {fc @ sh d Z d d l Z e j d e d d �d d l m Z m Z d d l m Z d d l m Z m Z d S( s� Package for parsing and compiling Python source code There are several functions defined at the top level that are imported from modules contained in the package. parse(buf, mode="exec") -> AST Converts a string containing Python source code to an abstract syntax tree (AST). The AST is defined in compiler.ast. parseFile(path) -> AST The same as parse(open(path)) walk(ast, visitor, verbose=None) Does a pre-order walk over the ast using the visitor instance. See compiler.visitor for details. compile(source, filename, mode, flags=None, dont_inherit=None) Returns a code object. A replacement for the builtin compile() function. compileFile(filename) Generates a .pyc file by compiling filename. i����Ns= The compiler package is deprecated and removed in Python 3.x.t stackleveli ( t parset parseFile( t walk( t compilet compileFile( t __doc__t warningst warnt DeprecationWarningt compiler.transformerR R t compiler.visitorR t compiler.pycodegenR R ( ( ( s) /usr/lib64/python2.7/compiler/__init__.pyt <module> s
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__init__.py | File | 1023 B | 0644 |
|
__init__.pyc | File | 1.27 KB | 0644 |
|
__init__.pyo | File | 1.27 KB | 0644 |
|
ast.py | File | 36.63 KB | 0644 |
|
ast.pyc | File | 70.43 KB | 0644 |
|
ast.pyo | File | 70.43 KB | 0644 |
|
consts.py | File | 468 B | 0644 |
|
consts.pyc | File | 737 B | 0644 |
|
consts.pyo | File | 737 B | 0644 |
|
future.py | File | 1.85 KB | 0644 |
|
future.pyc | File | 2.89 KB | 0644 |
|
future.pyo | File | 2.89 KB | 0644 |
|
misc.py | File | 1.75 KB | 0644 |
|
misc.pyc | File | 3.65 KB | 0644 |
|
misc.pyo | File | 3.65 KB | 0644 |
|
pyassem.py | File | 23.7 KB | 0644 |
|
pyassem.pyc | File | 25.34 KB | 0644 |
|
pyassem.pyo | File | 24.78 KB | 0644 |
|
pycodegen.py | File | 46.69 KB | 0644 |
|
pycodegen.pyc | File | 55.19 KB | 0644 |
|
pycodegen.pyo | File | 54.76 KB | 0644 |
|
symbols.py | File | 14.15 KB | 0644 |
|
symbols.pyc | File | 17.26 KB | 0644 |
|
symbols.pyo | File | 17.23 KB | 0644 |
|
syntax.py | File | 1.41 KB | 0644 |
|
syntax.pyc | File | 1.84 KB | 0644 |
|
syntax.pyo | File | 1.84 KB | 0644 |
|
transformer.py | File | 51.87 KB | 0644 |
|
transformer.pyc | File | 46.53 KB | 0644 |
|
transformer.pyo | File | 44.76 KB | 0644 |
|
visitor.py | File | 3.8 KB | 0644 |
|
visitor.pyc | File | 4.09 KB | 0644 |
|
visitor.pyo | File | 4.09 KB | 0644 |
|