Skip to content

fix: alias simple_heredoc_body to heredoc_body - #201

Merged
amaanq merged 5 commits into
tree-sitter:masterfrom
ahlinc:heredoc-body-alias
Aug 25, 2023
Merged

amaanq merged 5 commits into
tree-sitter:masterfrom
ahlinc:heredoc-body-alias

Conversation

@ahlinc

@ahlinc ahlinc commented Aug 25, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@ahlinc
ahlinc force-pushed the heredoc-body-alias branch from 1c1a21a to e79e755 Compare August 25, 2023 13:53
@amaanq
amaanq force-pushed the heredoc-body-alias branch from e79e755 to 056e450 Compare August 25, 2023 17:36
@amaanq
amaanq merged commit e877917 into tree-sitter:master Aug 25, 2023
@ahlinc
ahlinc deleted the heredoc-body-alias branch August 25, 2023 19:45
@verhovsky

Copy link
Copy Markdown
Collaborator

I think the difference is that a simple body is only text, whereas a regular body can have sub expressions.

@amaanq

amaanq commented Aug 26, 2023

Copy link
Copy Markdown
Member

Does it need to be differentiated though? You can tell by just checking the node's children count

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.

3 participants