Last change
on this file was 391, checked in by dmik, 11 years ago |
python: Merge vendor 2.7.6 to trunk.
|
-
Property svn:eol-style
set to
native
|
File size:
1.0 KB
|
Rev | Line | |
---|
[2] | 1 | These files are from the large example of using the `parser' module. Refer
|
---|
| 2 | to the Python Library Reference for more information.
|
---|
| 3 |
|
---|
| 4 | It also contains examples for the AST parser.
|
---|
| 5 |
|
---|
| 6 | Files:
|
---|
| 7 | ------
|
---|
| 8 |
|
---|
[391] | 9 | FILES -- list of files associated with the parser module.
|
---|
[2] | 10 |
|
---|
[391] | 11 | README -- this file.
|
---|
[2] | 12 |
|
---|
[391] | 13 | docstring.py -- sample source file containing only a module docstring.
|
---|
[2] | 14 |
|
---|
[391] | 15 | example.py -- module that uses the `parser' module to extract
|
---|
| 16 | information from the parse tree of Python source
|
---|
| 17 | code.
|
---|
[2] | 18 |
|
---|
[391] | 19 | simple.py -- sample source containing a "short form" definition.
|
---|
[2] | 20 |
|
---|
[391] | 21 | source.py -- sample source code used to demonstrate ability to
|
---|
| 22 | handle nested constructs easily using the functions
|
---|
| 23 | and classes in example.py.
|
---|
[2] | 24 |
|
---|
[391] | 25 | test_parser.py program to put the parser module through its paces.
|
---|
[2] | 26 |
|
---|
[391] | 27 | test_unparse.py tests for the unparse module
|
---|
[2] | 28 |
|
---|
[391] | 29 | unparse.py AST (2.7) based example to recreate source code
|
---|
| 30 | from an AST.
|
---|
| 31 |
|
---|
[2] | 32 | Enjoy!
|
---|
Note:
See
TracBrowser
for help on using the repository browser.