Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,16 @@ export default grammar({
),

async_iterable_member: $ => seq(
'async',
'iterable',
// Previously, an async iterable member would be denoted with 2 separate tokens,
// "async" and "iterable" sequentially. However in a PR, this was changed to be
// one singular token as "async_iterable". To maintain backwards compatibility,
// both are kept here.
//
// PR: https://github.com/whatwg/webidl/pull/1489
choice(
'async_iterable',
seq('async', 'iterable'),
),
'<',
field('lhs_type', $._type_with_extended_attributes),
optional(field('rhs_type', $._iterable_optional_rhs_type)),
Expand Down
26 changes: 20 additions & 6 deletions src/grammar.json

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

4 changes: 4 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