tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive
2025-09-16 02:24:11 -04:00
..
corpus.txt Rename spec -> test 2017-03-09 20:40:01 -08:00
grammar.js feat: migrate to ESM 2025-09-16 02:24:11 -04:00
readme.md Rename spec -> test 2017-03-09 20:40:01 -08:00

This grammar resolves the conflict shown in the precedence_on_single_child_missing grammar by giving function_call a positive precedence. This causes shifting the { token as part of function_call to be preferred over reducing the bar variable to an expression.