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

Pruning in ast.flatten #5

Closed
make-github-pseudonymous-again opened this issue Aug 6, 2018 · 0 comments
Closed

Pruning in ast.flatten #5

make-github-pseudonymous-again opened this issue Aug 6, 2018 · 0 comments
Milestone

Comments

@make-github-pseudonymous-again
Copy link
Member

It should be possible to prune the parent when handling the last child. This will need a bit of refactoring since currently ast.cmap will not give a way to test for a last child without exhausting it.

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