diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2019-11-03 07:01:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-03 07:01:41 +0700 |
commit | 68430aaf6368b2db40463a832df2b01ce7baccbe (patch) | |
tree | f8370402f38c3430219f9742f60cda193f2f7d21 /python/asttokens/README | |
parent | 6af8d98a326750efa295749291fe2cd8284ca439 (diff) |
python/asttokens: Added (Python module).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/asttokens/README')
-rw-r--r-- | python/asttokens/README | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/asttokens/README b/python/asttokens/README new file mode 100644 index 0000000000000..73c840a6fffe5 --- /dev/null +++ b/python/asttokens/README @@ -0,0 +1,12 @@ +this module annotates Python abstact syntax trees (ASTs) with the positions +of tokens and text in the source code that generated them + +It makes it possible for tools that work with logical AST nodes to find the +particular text that resulted in those nodes, for example for automated +refactoring or highlighting. + +It works with Python2 and Python3 and can annotate both trees built by +ast, and those built by astroid. + +This (source) is downloaded from pypi.org/projects/asttokens as the github +site may not have a complete sourcecode zip. |