-
Notifications
You must be signed in to change notification settings - Fork 42
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
CST and literals #9
Labels
enhancement
New feature or request
Comments
11 tasks
@ikatyang not sure I see a difference in CST. What has actually changed ? Thanks! |
They are now anonymous nodes, and you can verify it by enabling "Query" in the playground: |
I do confirm though, that I'm seeing anonymous nodes when building [email protected] locally. Great job! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ikatyang,
I was wondering if the CST that
tree-sitter-yaml
produces could additionally contain literals like:
.Having a following yaml
I'd expect CST to contain the
:
literal as a SyntaxNode with a location information. Currently literals are consumed by the grammar. For example tree-sitter-json does provide literals as SyntaxNodes within CST.Thank you
The text was updated successfully, but these errors were encountered: