Closed char0n closed 3 years ago
@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:
Hm interesting. This is what I see:
I've used Incognito
Chrome window to eliminate any cache problems.
I do confirm though, that I'm seeing anonymous nodes when building tree-sitter-yaml@0.2.0 locally. Great job!
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