| 1 |
// This file was procedurally generated from the following sources: |
| 2 |
// - src/insignificant-input-elements/en-space.case |
| 3 |
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template |
| 4 |
/*--- |
| 5 |
description: U+2002 EN SPACE (after regular expression literal) |
| 6 |
esid: sec-lexical-and-regexp-grammars |
| 7 |
flags: [generated] |
| 8 |
info: | |
| 9 |
Input elements other than white space and comments form the terminal symbols |
| 10 |
for the syntactic grammar for ECMAScript and are called ECMAScript |
| 11 |
<em>tokens</em>. These tokens are the reserved words, identifiers, literals, |
| 12 |
and punctuators of the ECMAScript language. Moreover, line terminators, |
| 13 |
although not considered to be tokens, also become part of the stream of input |
| 14 |
elements and guide the process of automatic semicolon insertion |
| 15 |
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple |
| 16 |
white space and single-line comments are discarded and do not appear in the |
| 17 |
stream of input elements for the syntactic grammar. A |MultiLineComment| (that |
| 18 |
is, a comment of the form `/*`…`*``/` regardless of whether it spans more |
| 19 |
than one line) is likewise simply discarded if it contains no line terminator; |
| 20 |
but if a |MultiLineComment| contains one or more line terminators, then it is |
| 21 |
replaced by a single line terminator, which becomes part of the stream of |
| 22 |
input elements for the syntactic grammar. |
| 23 |
|
| 24 |
<tr> |
| 25 |
<td> |
| 26 |
Other category “Zs” |
| 27 |
</td> |
| 28 |
<td> |
| 29 |
Any other Unicode “Space_Separator” code point |
| 30 |
</td> |
| 31 |
<td> |
| 32 |
<USP> |
| 33 |
</td> |
| 34 |
</tr> |
| 35 |
|
| 36 |
WhiteSpace :: |
| 37 |
<TAB> |
| 38 |
<VT> |
| 39 |
<FF> |
| 40 |
<SP> |
| 41 |
<NBSP> |
| 42 |
<ZWNBSP> |
| 43 |
<USP> |
| 44 |
---*/ |
| 45 |
|
| 46 |
|
| 47 |
/x/g ; |
| 48 |
|
| 49 |
reportCompare(0, 0); |