Skip to content

Commit

Permalink
Merge pull request #448 from tree-sitter/generation
Browse files Browse the repository at this point in the history
chore: generate and sync latest changes
  • Loading branch information
eed3si9n authored Dec 17, 2024
2 parents 25acfc9 + d8236d7 commit fb999c7
Show file tree
Hide file tree
Showing 4 changed files with 539,123 additions and 511,215 deletions.
12 changes: 2 additions & 10 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ module.exports = grammar({
choice(
seq(field("type_parameters", $.type_parameters), $._arrow_then_type),
seq(field("parameter_types", $.parameter_types), $._arrow_then_type),
)
),
),

_arrow_then_type: $ =>
Expand Down Expand Up @@ -1163,15 +1163,7 @@ module.exports = grammar({
lambda_expression: $ =>
prec.right(
seq(
optional(
seq(
field(
"type_parameters",
$.type_parameters,
),
"=>",
),
),
optional(seq(field("type_parameters", $.type_parameters), "=>")),
field(
"parameters",
choice(
Expand Down
69 changes: 60 additions & 9 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fb999c7

Please sign in to comment.