mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cli.js | ||
| dsl.d.ts | ||
| install.js | ||
| package-lock.json | ||
| package.json | ||