tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens
2017-12-13 12:21:28 -08:00
..
corpus.txt Rename spec -> test 2017-03-09 20:40:01 -08:00
grammar.json Don't use non-existent \a syntax in test grammars 2017-12-13 12:21:28 -08:00
readme.md Rename spec -> test 2017-03-09 20:40:01 -08:00
scanner.c Update test grammars to use new serialization API 2017-07-17 17:46:46 -07:00

This grammar has an external scanner whose scan method needs to be able to check for the validity of an internal token. This is done by including the names of that internal token (_line_break) in the grammar's externals field.