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

Can't store references to nodes in visitor #206

Open
tommaisey opened this issue Oct 30, 2021 · 1 comment
Open

Can't store references to nodes in visitor #206

tommaisey opened this issue Oct 30, 2021 · 1 comment

Comments

@tommaisey
Copy link

Hi, I'm trying to do some analysis/searching of Lua code with full_moon and I find I can't easily store references to nodes in a Visitor. I was looking at the syn crate and they have annotated their Visitor trait with the lifetime of the AST, meaning that this is allowed. Is it something you'd consider for full_moon?

@Kampfkarren
Copy link
Owner

Possibly! I'm okay with this at first glance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants