Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to keep track of tree while transforming it? #1236

Open
aspizu opened this issue Jan 2, 2023 · 0 comments
Open

How to keep track of tree while transforming it? #1236

aspizu opened this issue Jan 2, 2023 · 0 comments
Labels

Comments

@aspizu
Copy link
Contributor

aspizu commented Jan 2, 2023

I have a lark.visitors.Transformer which converts a AST into some other AST, while doing it I will exit if there is a error, i use the tokens to show where the error occured.
now it is not possible to get the token because it is transformed.

@aspizu aspizu added the question label Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant