tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules
2017-08-01 14:35:34 -07:00
..
corpus.txt Get tests passing w/ new alias API 2017-08-01 14:35:34 -07:00
grammar.json Get tests passing w/ new alias API 2017-08-01 14:35:34 -07:00
readme.md Get tests passing w/ new alias API 2017-08-01 14:35:34 -07:00

This grammar shows that ALIAS rules can contain a rule that is marked as inline. It also shows that you can alias a rule that would otherwise be anonymous, and it will then appear as a named node.