tree-sitter/spec/runtime/languages/json
Max Brunsfeld 1e79ed794b Allow multiple top-level nodes
Now, the root node of a document is always a document node.
It will often have only one child node which corresponds to the grammar's
start symbol, but not always. Currently, it may have more than one child
if there are ubiquitous tokens such as comments at the beginning of the
document. In the future, it will also be possible be possible to have multiple
for the document to have multiple children if the document is partially parsed.
2014-08-09 00:00:20 -07:00
..
errors.txt Allow multiple top-level nodes 2014-08-09 00:00:20 -07:00
main.txt Don't store tree's hidden children in a separate array 2014-07-17 13:36:53 -07:00