summaryrefslogtreecommitdiffstats
path: root/python/asttokens/README
blob: 73c840a6fffe5cc8e45eb4600e3a055b15341ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
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.