Skip to content

Conversation

@Morriar
Copy link
Contributor

@Morriar Morriar commented Mar 31, 2022

Having the location in the Node would make SyntaxTree more type-checking friendly.
When dealing with a bare Node, tools are generally interested in getting the node location.
For anything else the node can be cast down to a more specific type.

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@kddnewton kddnewton merged commit cdecb9e into ruby-syntax-tree:main Mar 31, 2022
@Morriar Morriar deleted the at-node-location branch March 31, 2022 15:04
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

Successfully merging this pull request may close these issues.

2 participants