tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative
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 negative precedence. This causes reducing the bar variable to an expression to be preferred over shifting the { token as part of function_call.