tree-sitter/spec/runtime
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
..
helpers Remove unit test on parser 2014-08-09 00:00:20 -07:00
languages Allow multiple top-level nodes 2014-08-09 00:00:20 -07:00
document_spec.cc Allow multiple top-level nodes 2014-08-09 00:00:20 -07:00
node_spec.cc Allow multiple top-level nodes 2014-08-09 00:00:20 -07:00
runtime_spec_helper.h Tweak header include paths in tests 2014-06-23 18:50:03 -07:00
runtime_specs.cc Fix indentation in specs 2014-08-07 08:11:21 -07:00
stack_spec.cc Simplify handling of ubiquitous tokens during reduce 2014-08-08 08:46:01 -07:00
tree_spec.cc Fix indentation in specs 2014-08-07 08:11:21 -07:00