aboutsummaryrefslogtreecommitdiff
path: root/devel/py-asttokens/pkg-descr
blob: e43ddf5e654f68a92fda8c47d9ecb7c0b3ae1d76 (plain) (blame)
1
2
3
4
5
6
7
The asttokens module annotates Python abstract 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.