budgielang/ts-budgie

Re-enable comments by reworking the tree merging logic

Opened this issue · 1 comments

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.