summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-03-29 10:02:06 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2010-03-29 10:02:06 +0200
commit0d68eb97d7b5bcaf5527349deeebe4bfff9cc3d5 (patch)
tree137a7429285fc7ce089b3b1d1f36c459d703f8dd /README
parent573e38b5cfad9ae813aab71efaed2bf204b615b4 (diff)
downloadastroid-0d68eb97d7b5bcaf5527349deeebe4bfff9cc3d5.tar.gz
Update README : the tree is now rebuilded
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 8 insertions, 8 deletions
diff --git a/README b/README
index ff33afb..14fe8b7 100644
--- a/README
+++ b/README
@@ -13,17 +13,17 @@ Since 0.18, it provides a compatible representation which may come
from the `compiler` module (for python <= 2.4) pr the `_ast` module
(for python >= 2.5).
-It extends bare node classes with some additional methods and
-attributes. Instance attributes are added by a builder object, which
-can generate extended ast (let's call them astng ;) by visiting either
-an existent ast tree or by inspecting living object. Methods are added
-by monkey patching ast classes. Finally some support for static
-inference is provided.
+It rebuilds the tree generated by the compiler.ast [1] module or by
+the builtin _ast module by recursively walking down the AST and
+building an extended ast (let's call it astng ;). The new node classes
+have additional methods and attributes for different usages.
+They include some support for static inference and local name scopes.
+Furthermore, astng builds partial trees by inspecting living objects.
Main modules are:
-* `nodes` and `scoped_nodes` for more information about methods and
- attributes added to different node classes
+* `bases`, `node_classses` and `scoped_nodes` contain the classes for the
+ different type of nodes of the tree.
* the `manager` contains a high level object to get astng trees from
source files and living objects. It maintains a cache of previously