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

which kind of ASTs can have scopes? #19

Open
thautwarm opened this issue May 12, 2020 · 0 comments
Open

which kind of ASTs can have scopes? #19

thautwarm opened this issue May 12, 2020 · 0 comments

Comments

@thautwarm
Copy link
Member

https://github.com/thautwarm/JuliaVariables.jl/blob/b66db8e1f1efc84406b073ad2a8c03efe34c6b62/src/JuliaVariables.jl#L233

This is relevant to JuliaStaging/GeneralizedGenerated.jl#44 .

It seems that at least Expr and Symbol can have scopes, while a literal, or QuoteNode cannot.

I'll update the code once I make sure all possibilities.

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

1 participant