You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -574,11 +570,11 @@ Note: Operations can have no identifier when they are being used to declare a
574
570
575
571
For all of these constructs, the [=identifier=]
576
572
is the value of the <emu-t class="regex"><a href="#prod-identifier">identifier</a></emu-t> token with any leading
577
-
<span class="char">U+005F LOW LINE ("_")</span> character (underscore) removed.
573
+
U+005F (_) removed.
578
574
579
-
Note: A leading <span class="char">"_"</span> is used to escape an identifier from looking
575
+
Note: A leading U+005F (_) is used to escape an identifier from looking
580
576
like a reserved word so that, for example, an interface named "<code>interface</code>" can be
581
-
defined. The leading <span class="char">"_"</span> is dropped to unescape the
577
+
defined. The leading U+005F (_) is dropped to unescape the
582
578
identifier.
583
579
584
580
Operation arguments can take a slightly wider set of identifiers. In an operation
@@ -626,15 +622,15 @@ underscore.
626
622
If an <emu-t class="regex"><a href="#prod-identifier">identifier</a></emu-t> token is used, then the
627
623
[=identifier=] of the operation argument
628
624
is the value of that token with any leading
629
-
<span class="char">U+005F LOW LINE ("_")</span> character (underscore) removed.
625
+
U+005F (_) removed.
630
626
If instead one of the <emu-nt><a href="#prod-ArgumentNameKeyword">ArgumentNameKeyword</a></emu-nt>
631
627
keyword token is used, then the [=identifier=] of the operation argument
632
628
is simply that token.
633
629
634
630
The [=identifier=] of any of the abovementioned
635
631
IDL constructs (except operation arguments) must not be "<code>constructor</code>",
636
632
"<code>toString</code>",
637
-
or begin with a <span class="char">U+005F LOW LINE ("_")</span> character. These
633
+
or begin with a U+005F (_). These
638
634
are known as <dfn id="dfn-reserved-identifier" export>reserved identifiers</dfn>.
639
635
640
636
Although the "<code>toJSON</code>" [=identifier=] is not a [=reserved identifier=],
@@ -763,7 +759,7 @@ invoke the behavior described by the interface.
763
759
764
760
An interface can be defined to <dfn id="dfn-inherit" for="interface" export>inherit</dfn> from another interface.
765
761
If the identifier of the interface is followed by a
766
-
<span class="char">U+003A COLON (":")</span> character
762
+
U+003A (:)
767
763
and an [=identifier=],
768
764
then that identifier identifies the inherited interface.
769
765
An object that implements an interface that inherits from another
@@ -938,7 +934,7 @@ The <dfn>qualified name</dfn> of an [=interface=] |interface| is defined as foll
938
934
1. Let |namespace| be the identifier argument of the [{{LegacyNamespace}}]
939
935
[=extended attribute=].
940
936
1. Return the [=concatenation=] of « |namespace|, |identifier| » with
941
-
separator <span class="char">U+002E FULL STOP (".")</span>.
937
+
separator U+002E (.).
942
938
1. Return |identifier|.
943
939
944
940
</div>
@@ -1590,18 +1586,18 @@ The value of the boolean literal tokens <emu-t>true</emu-t> and
1590
1586
is an integer whose value is determined as follows:
1591
1587
1592
1588
1. Let |S| be the sequence of [=scalar values=] matched by the <emu-t class="regex"><a href="#prod-integer">integer</a></emu-t> token.
1593
-
1. Let |sign| be −1 if |S| begins with <span class="char">U+002D HYPHEN-MINUS ("-")</span>, and 1 otherwise.
1594
-
1. Let |base| be the base of the number based on the [=scalar values=] that follow the optional leading <span class="char">U+002D HYPHEN-MINUS ("-")</span> character:
1589
+
1. Let |sign| be −1 if |S| begins with U+002D (-), and 1 otherwise.
1590
+
1. Let |base| be the base of the number based on the [=scalar values=] that follow the optional leading U+002D (-):
1595
1591
<dl class="switch">
1596
-
: <span class="char">U+0030 DIGIT ZERO ("0")</span>, <span class="char">U+0058 LATIN CAPITAL LETTER X ("X")</span>
1597
-
: <span class="char">U+0030 DIGIT ZERO ("0")</span>, <span class="char">U+0078 LATIN SMALL LETTER X ("x")</span>
1592
+
: U+0030 (0), U+0058 (X)
1593
+
: U+0030 (0), U+0078 (x)
1598
1594
:: The base is 16.
1599
-
: <span class="char">U+0030 DIGIT ZERO ("0")</span>
1595
+
: U+0030 (0)
1600
1596
:: The base is 8.
1601
-
: <span class="char">Otherwise</span>
1597
+
: Otherwise
1602
1598
:: The base is 10.
1603
1599
</dl>
1604
-
1. Let |number| be the result of interpreting all remaining [=scalar values=] following the optional leading <span class="char">U+002D HYPHEN-MINUS ("-")</span>
1600
+
1. Let |number| be the result of interpreting all remaining [=scalar values=] following the optional leading U+002D (-)
1605
1601
character and any [=scalar values=] indicating the base as an integer specified in base |base|.
1606
1602
1. Return |sign| × |number|.
1607
1603
</div>
@@ -2191,7 +2187,7 @@ optional if the operation is [=variadic=].
2191
2187
</pre>
2192
2188
2193
2189
Optional arguments can also have a <dfn id="dfn-optional-argument-default-value" for="optional argument" export>default value</dfn>
2194
-
specified. If the argument's identifier is followed by a <span class="char">U+003D EQUALS SIGN ("=")</span>
2190
+
specified. If the argument's identifier is followed by a U+003D (=)
2195
2191
and a value (matching <emu-nt><a href="#prod-DefaultValue">DefaultValue</a></emu-nt>),
2196
2192
then that gives the optional argument its [=optional argument/default value=].
2197
2193
The implicitly optional final argument of a [=variadic=]
@@ -2253,7 +2249,7 @@ the value is the IDL {{undefined}} value.
2253
2249
2254
2250
1. Let |S| be the sequence of [=scalar values=] matched by
2255
2251
the <emu-t class="regex"><a href="#prod-string">string</a></emu-t> token
2256
-
with its leading and trailing <span class="char">U+0022 QUOTATION MARK ('"')</span> [=scalar values=] removed.
2252
+
with its leading and trailing U+0022 (") [=scalar values=] removed.
2257
2253
1. Depending on the type of the argument:
2258
2254
<dl class="switch">
2259
2255
: {{DOMString}}
@@ -4816,8 +4812,8 @@ its [=nullable types/inner type=] must not be a [=dictionary type=].
4816
4812
};
4817
4813
</pre>
4818
4814
4819
-
If the identifier for an [=dictionary member/optional=] [=dictionary member=] is followed by a <span
4820
-
class="char">U+003D EQUALS SIGN ("=")</span> and a value (matching <emu-nt><a
4815
+
If the identifier for an [=dictionary member/optional=] [=dictionary member=] is followed by a
4816
+
U+003D (=) and a value (matching <emu-nt><a
4821
4817
href="#prod-DefaultValue">DefaultValue</a></emu-nt>), then that gives the dictionary member its <dfn
4822
4818
id="dfn-dictionary-member-default-value" for="dictionary member" export>default value</dfn>, which
4823
4819
is the value used by default when author code or specification text does not provide a value for
@@ -6145,7 +6141,7 @@ A <dfn id="dfn-nullable-type" export>nullable type</dfn> is an IDL type construc
6145
6141
from an existing type (called the <dfn id="dfn-inner-type" export for="nullable types">inner type</dfn>),
6146
6142
which just allows the additional value <emu-val>null</emu-val>
6147
6143
to be a member of its set of values. [=Nullable types=]
6148
-
are represented in IDL by placing a <span class="char">U+003F QUESTION MARK ("?")</span>
6144
+
are represented in IDL by placing a U+003F (?)
6149
6145
character after an existing type.
6150
6146
The [=nullable types/inner type=] must not be:
6151
6147
@@ -14957,7 +14953,7 @@ The following typographic conventions are used in this document:
14957
14953
* ECMAScript classes: {{ECMAScript/Map}}
14958
14954
* ECMAScript language types: Object
14959
14955
* Code snippets: <code>a = b + obj.f()</code>
14960
-
* Scalar values: <span class="char">U+0030 DIGIT ZERO ("0")</span>
0 commit comments