-
Notifications
You must be signed in to change notification settings - Fork 132
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
Retrieve local variables for method? #222
Comments
I love this idea! We can definitely consider this one :) |
Oh hell yeah, this would be awesome! Could detect things like:
|
My motivation here is writing an auto-complete engine, as such the main problem is inferring the types of the local variables - we would need to resolve types from ASSIGN nodes the best we can (e.g. The only technical problem, I think, is how we determine the types of class properties so that we can resolve the expression chain:
Makes sense - I guess these could be collected in the same visitor/thing. |
Would it be reasonable to retrieve the local variables which are available in a reflection method?
e.g.
The text was updated successfully, but these errors were encountered: