asttokens

Annotate AST trees with source code positions

Here are some articles that you may find helpful