Skip to content

Commit

Permalink
Handle element references with blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
hvitved committed Jun 19, 2024
1 parent acb4820 commit 27c8a51
Show file tree
Hide file tree
Showing 5 changed files with 315,832 additions and 309,454 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ module.exports = grammar({
alias($._element_reference_bracket, '['),
optional($._argument_list_with_trailing_comma),
']',
optional(field('block', $.do_block)),
)),

scope_resolution: $ => prec.left(PREC.CALL + 1, seq(
Expand Down
16 changes: 16 additions & 0 deletions src/grammar.json

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

10 changes: 10 additions & 0 deletions src/node-types.json

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

Loading

0 comments on commit 27c8a51

Please sign in to comment.