Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow async and includes as member names #769

Merged
merged 3 commits into from
Aug 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 18 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ in the declaration:
* For [=operations=], the
<emu-t class="regex"><a href="#prod-identifier">identifier</a></emu-t> token that appears
after the return type but before the opening parenthesis (that is,
one that is matched as part of the <emu-nt><a href="#prod-OptionalIdentifier">OptionalIdentifier</a></emu-nt>
one that is matched as part of the <emu-nt><a href="#prod-OptionalOperationName">OptionalOperationName</a></emu-nt>
grammar symbol in an <emu-nt><a href="#prod-OperationRest">OperationRest</a></emu-nt>) determines the identifier of the operation. If
there is no such <emu-t class="regex"><a href="#prod-identifier">identifier</a></emu-t> token,
then the operation does not have an identifier.
Expand Down Expand Up @@ -677,6 +677,7 @@ underscore.

<pre class="grammar" id="prod-ArgumentNameKeyword">
ArgumentNameKeyword :
"async"
"attribute"
"callback"
"const"
Expand Down Expand Up @@ -1976,6 +1977,7 @@ are applicable only to regular attributes:

<pre class="grammar" id="prod-AttributeNameKeyword">
AttributeNameKeyword :
"async"
"required"
</pre>

Expand Down Expand Up @@ -2420,15 +2422,26 @@ The following extended attributes are applicable to operations:

<pre class="grammar" id="prod-OperationRest">
OperationRest :
OptionalIdentifier "(" ArgumentList ")" ";"
OptionalOperationName "(" ArgumentList ")" ";"
</pre>

<pre class="grammar" id="prod-OptionalIdentifier">
OptionalIdentifier :
identifier
<pre class="grammar" id="prod-OptionalOperationName">
OptionalOperationName :
OperationName
ε
</pre>

<pre class="grammar" id="prod-OperationName">
OperationName :
OperationNameKeyword
identifier
</pre>

<pre class="grammar" id="prod-OperationNameKeyword">
OperationNameKeyword :
"includes"
</pre>

<pre class="grammar" id="prod-ArgumentList">
ArgumentList :
Argument Arguments
Expand Down