gristlabs / asttokens

Annotate Python AST trees with source text and token information
Apache License 2.0
172 stars 34 forks source link

Support passing in tokens already parsed from the source #95

Closed PeterJCLaw closed 2 years ago

PeterJCLaw commented 2 years ago

Fixes https://github.com/gristlabs/asttokens/issues/94

alexmojaki commented 2 years ago

Can you convert this into another PR on #93?

PeterJCLaw commented 2 years ago

Can you convert this into another PR on #93?

I can if that'll help avoid conflicts, though it feels like it should probably be merged separately given its different goals?

alexmojaki commented 2 years ago

You're right, it wouldn't really help. Can you resolve the conflicts please?

alexmojaki commented 2 years ago

Also @dsagal please can you give @PeterJCLaw collaborator access? I think he's earned it.

dsagal commented 2 years ago

Just did. Welcome, @PeterJCLaw, and thank you for contributing!!