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

Re-enable comments by reworking the tree merging logic #22

Open
JoshuaKGoldberg opened this issue Oct 15, 2017 · 1 comment
Open

Re-enable comments by reworking the tree merging logic #22

JoshuaKGoldberg opened this issue Oct 15, 2017 · 1 comment

Comments

@JoshuaKGoldberg
Copy link
Member

There needs to be merger logic to resolve sub-transformations together.

Class declarations, for example, give:

[
    CommandNames.ClassStart,
    ...bodyNodes,
    CommandNames.ClassEnd
]

Comments that come within that will need to recursively search into the body nodes.

@JoshuaKGoldberg
Copy link
Member Author

See 81faef6.

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