|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/lib64/python2.6/compiler/ |
Upload File : |
Ñò
§ÚêLc @ si d Z d d k l Z e d d d ƒ[ d d k l Z l Z d d k l Z d d k l Z l
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ÿÿÿÿ( t warnpy3ks3 the compiler package has been removed in Python 3.0t
stackleveli ( t parset parseFile( t walk( t compilet compileFileN( t __doc__t warningsR t compiler.transformerR R t compiler.visitorR t compiler.pycodegenR R ( ( ( s) /usr/lib64/python2.6/compiler/__init__.pyt <module> s