Add generated tests

Fixes #3039
This commit is contained in:
Richard Gibson 2021-07-14 22:57:00 -04:00 committed by Rick Waldron
parent d9a20dfe34
commit 39026ea655
25 changed files with 1164 additions and 0 deletions

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/carriage-return.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+000D CARRIAGE RETURN <CR> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+000D`
</td>
<td>
CARRIAGE RETURN (CR)
</td>
<td>
&lt;CR&gt;
</td>
</tr>
LineTerminator ::
&lt;LF&gt;
&lt;CR&gt;
&lt;LS&gt;
&lt;PS&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/em-quad.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2001 EM QUAD (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/em-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2003 EM SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/en-quad.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2000 EN QUAD (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/en-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2002 EN SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/figure-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2007 FIGURE SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/form-feed.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+000C FORM FEED <FF> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+000C`
</td>
<td>
FORM FEED (FF)
</td>
<td>
&lt;FF&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/four-per-em-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2005 FOUR-PER-EM SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/hair-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+200A HAIR SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/ideographic-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+3000 IDEOGRAPHIC SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/line-feed.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+000A LINE FEED <LF> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+000A`
</td>
<td>
LINE FEED (LF)
</td>
<td>
&lt;LF&gt;
</td>
</tr>
LineTerminator ::
&lt;LF&gt;
&lt;CR&gt;
&lt;LS&gt;
&lt;PS&gt;
---*/
/x/g
;

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/line-separator.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2028 LINE SEPARATOR <LS> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+2028`
</td>
<td>
LINE SEPARATOR
</td>
<td>
&lt;LS&gt;
</td>
</tr>
LineTerminator ::
&lt;LF&gt;
&lt;CR&gt;
&lt;LS&gt;
&lt;PS&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/medium-mathematical-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+205F MEDIUM MATHEMATICAL SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/nbsp.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+00A0 NO-BREAK SPACE <NBSP> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+00A0`
</td>
<td>
NO-BREAK SPACE
</td>
<td>
&lt;NBSP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/nnbsp.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+202F NARROW NO-BREAK SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/ogham-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+1680 OGHAM SPACE MARK (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/paragraph-separator.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2029 PARAGRAPH SEPARATOR <PS> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+2029`
</td>
<td>
PARAGRAPH SEPARATOR
</td>
<td>
&lt;PS&gt;
</td>
</tr>
LineTerminator ::
&lt;LF&gt;
&lt;CR&gt;
&lt;LS&gt;
&lt;PS&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/punctuation-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2008 PUNCTUATION SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/six-per-em-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2006 SIX-PER-EM SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+0020 SPACE <SP> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+0020`
</td>
<td>
SPACE
</td>
<td>
&lt;SP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/tab.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+0009 CHARACTER TABULATION <TAB> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+0009`
</td>
<td>
CHARACTER TABULATION
</td>
<td>
&lt;TAB&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/thin-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2009 THIN SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/three-per-em-space.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+2004 THREE-PER-EM SPACE (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
Other category &ldquo;Zs&rdquo;
</td>
<td>
Any other Unicode &ldquo;Space_Separator&rdquo; code point
</td>
<td>
&lt;USP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/vertical-tab.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+000B LINE TABULATION <VT> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+000B`
</td>
<td>
LINE TABULATION
</td>
<td>
&lt;VT&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g ;

View File

@ -0,0 +1,47 @@
// This file was procedurally generated from the following sources:
// - src/insignificant-input-elements/zwnbsp.case
// - src/insignificant-input-elements/expression/after-regular-expression-literal.template
/*---
description: U+FEFF ZERO WIDTH NO-BREAK SPACE <ZWNBSP> (after regular expression literal)
esid: sec-lexical-and-regexp-grammars
flags: [generated]
info: |
Input elements other than white space and comments form the terminal symbols
for the syntactic grammar for ECMAScript and are called ECMAScript
<em>tokens</em>. These tokens are the reserved words, identifiers, literals,
and punctuators of the ECMAScript language. Moreover, line terminators,
although not considered to be tokens, also become part of the stream of input
elements and guide the process of automatic semicolon insertion
(<emu-xref href="#sec-automatic-semicolon-insertion"></emu-xref>). Simple
white space and single-line comments are discarded and do not appear in the
stream of input elements for the syntactic grammar. A |MultiLineComment| (that
is, a comment of the form `/*`&hellip;`*``/` regardless of whether it spans more
than one line) is likewise simply discarded if it contains no line terminator;
but if a |MultiLineComment| contains one or more line terminators, then it is
replaced by a single line terminator, which becomes part of the stream of
input elements for the syntactic grammar.
<tr>
<td>
`U+FEFF`
</td>
<td>
ZERO WIDTH NO-BREAK SPACE
</td>
<td>
&lt;ZWNBSP&gt;
</td>
</tr>
WhiteSpace ::
&lt;TAB&gt;
&lt;VT&gt;
&lt;FF&gt;
&lt;SP&gt;
&lt;NBSP&gt;
&lt;ZWNBSP&gt;
&lt;USP&gt;
---*/
/x/g;