Skip to content

Commit

Permalink
fixup: In example, remove "the" before "VarDeclaredNames"
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdyck committed Mar 21, 2024
1 parent 6ebd7c4 commit 9e080e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ <h1>Referring to Parse Nodes</h1>
<ul>
<li>If each associated production has exactly one right-hand occurrence of the nonterminal, then the algorithm can refer to it with “the” or without a prefix (e.g., “the |StatementList|” or “|StatementList|”). If the same nonterminal also appears on the LHS of the production, the algorithm can also use “the derived” (e.g., “the derived |UnaryExpression|”) to emphasize a reference to the right-hand nonterminal.</li>
<li>If a production has multiple right-hand occurrences of the nonterminal, they are distinguished by ordinals (e.g., “the first |DecimalDigits|” or “the fourth |HexDigit|”).</li>
<li>If a production has an optional nonterminal (e.g., “|StatementList?|”), the algorithm must check if the corresponding Parse Node is present before using it (e.g., “If the |StatementList| is present, return the VarDeclaredNames of |StatementList|.”)</li>
<li>If a production has an optional nonterminal (e.g., “|StatementList?|”), the algorithm must check if the corresponding Parse Node is present before using it (e.g., “If the |StatementList| is present, return VarDeclaredNames of |StatementList|.”)</li>
</ul>
</emu-clause>

Expand Down

0 comments on commit 9e080e8

Please sign in to comment.