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

proposal: Go 2: go/ast inspect in reverse direction #33209

Closed
pjebs opened this issue Jul 21, 2019 · 3 comments
Closed

proposal: Go 2: go/ast inspect in reverse direction #33209

pjebs opened this issue Jul 21, 2019 · 3 comments

Comments

@pjebs
Copy link
Contributor

pjebs commented Jul 21, 2019

It would be good to have the option for Inspect to traverse in the reverse direction.

@gopherbot gopherbot added this to the Proposal milestone Jul 21, 2019
@pjebs
Copy link
Contributor Author

pjebs commented Jul 21, 2019

golang.org/x/tools/go/ast/astutil

Apply function should also have option to traverse in reverse direction.

@mvdan
Copy link
Member

mvdan commented Jul 21, 2019

Can you please define what "reverse direction" means?

@pjebs
Copy link
Contributor Author

pjebs commented Jul 21, 2019

Bottom to top

@pjebs pjebs changed the title proposal: go2: go/ast inspect in reverse direction proposal: Go 2: go/ast inspect in reverse direction Jul 24, 2019
@pjebs pjebs closed this as completed Jul 30, 2019
@golang golang locked and limited conversation to collaborators Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants