JuliaVariables.jl icon indicating copy to clipboard operation
JuliaVariables.jl copied to clipboard

which kind of ASTs can have scopes?

Open thautwarm opened this issue 5 years ago • 0 comments

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

This is relevant to https://github.com/thautwarm/GeneralizedGenerated.jl/issues/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.

thautwarm avatar May 12 '20 05:05 thautwarm