mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
Model grammar() as returning the evaluated grammar beneath a `grammar` property, with callbacks replaced by their normalized values and runtime-initialized fields represented as required properties. Correct the evaluated rule types for named precedences and regular expression flags. Narrow symbol-only callbacks such as `conflicts`, `inline`, `supertypes`, and `word`, and expose the inherited values passed to `extras` and `reserved` callbacks. Co-authored-by: Will Lillis <will.lillis24@gmail.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| config | ||
| generate | ||
| highlight | ||
| language | ||
| loader | ||
| tags | ||
| xtask | ||