Skip to content

Commit

Permalink
feat: support element references with blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
hvitved authored Jun 20, 2024
1 parent dc2d7d6 commit 0ffe457
Show file tree
Hide file tree
Showing 5 changed files with 318,039 additions and 308,568 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', choice($.block, $.do_block))),
)),

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

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

14 changes: 14 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 0ffe457

Please sign in to comment.