module documentation
ast ~~~ This is a stripped down version of Armin Ronacher's ast module. :copyright: Copyright 2008 by Armin Ronacher. :license: Python License.
Class |
|
Walks the abstract syntax tree and allows modifications of nodes. |
Class |
|
Walks the abstract syntax tree and call visitor functions for every node found. The visitor functions may return values which will be forwarded by the `visit` method. |
Class |
|
This visitor is able to transform a well formed syntax tree into python sourcecode. For more details have a look at the docstring of the `node_to_source` function. |
Function | iter |
Iterate over all fields of a node, only yielding existing fields. |
Function | parse |
Parse an expression into an AST node. |
Constant | ALL |
Undocumented |
Constant | BINOP |
Undocumented |
Constant | BOOLOP |
Undocumented |
Constant | CMPOP |
Undocumented |
Constant | UNARYOP |
Undocumented |