diff --git a/test/language/white-space/after-regular-expression-literal-carriage-return.js b/test/language/white-space/after-regular-expression-literal-carriage-return.js new file mode 100644 index 0000000000..277695b526 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-carriage-return.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+000D` + + + CARRIAGE RETURN (CR) + + + <CR> + + + + LineTerminator :: + <LF> + <CR> + <LS> + <PS> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-em-quad.js b/test/language/white-space/after-regular-expression-literal-em-quad.js new file mode 100644 index 0000000000..70ff744c22 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-em-quad.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-em-space.js b/test/language/white-space/after-regular-expression-literal-em-space.js new file mode 100644 index 0000000000..e454a0d700 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-em-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-en-quad.js b/test/language/white-space/after-regular-expression-literal-en-quad.js new file mode 100644 index 0000000000..fefae933f8 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-en-quad.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-en-space.js b/test/language/white-space/after-regular-expression-literal-en-space.js new file mode 100644 index 0000000000..934c6c03bf --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-en-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-figure-space.js b/test/language/white-space/after-regular-expression-literal-figure-space.js new file mode 100644 index 0000000000..11e450f6b7 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-figure-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-form-feed.js b/test/language/white-space/after-regular-expression-literal-form-feed.js new file mode 100644 index 0000000000..5bbebdf6a8 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-form-feed.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+000C` + + + FORM FEED (FF) + + + <FF> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-four-per-em-space.js b/test/language/white-space/after-regular-expression-literal-four-per-em-space.js new file mode 100644 index 0000000000..bc1eb31975 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-four-per-em-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-hair-space.js b/test/language/white-space/after-regular-expression-literal-hair-space.js new file mode 100644 index 0000000000..9fd8035837 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-hair-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-ideographic-space.js b/test/language/white-space/after-regular-expression-literal-ideographic-space.js new file mode 100644 index 0000000000..e1f30d2f7c --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-ideographic-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-line-feed.js b/test/language/white-space/after-regular-expression-literal-line-feed.js new file mode 100644 index 0000000000..adb7ad72a4 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-line-feed.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+000A` + + + LINE FEED (LF) + + + <LF> + + + + LineTerminator :: + <LF> + <CR> + <LS> + <PS> +---*/ + + +/x/g +; diff --git a/test/language/white-space/after-regular-expression-literal-line-separator.js b/test/language/white-space/after-regular-expression-literal-line-separator.js new file mode 100644 index 0000000000..a4e99f5db3 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-line-separator.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+2028` + + + LINE SEPARATOR + + + <LS> + + + + LineTerminator :: + <LF> + <CR> + <LS> + <PS> +---*/ + + +/x/g
; diff --git a/test/language/white-space/after-regular-expression-literal-medium-mathematical-space.js b/test/language/white-space/after-regular-expression-literal-medium-mathematical-space.js new file mode 100644 index 0000000000..93fcffba1e --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-medium-mathematical-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-nbsp.js b/test/language/white-space/after-regular-expression-literal-nbsp.js new file mode 100644 index 0000000000..7ae9ee6192 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-nbsp.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+00A0` + + + NO-BREAK SPACE + + + <NBSP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-nnbsp.js b/test/language/white-space/after-regular-expression-literal-nnbsp.js new file mode 100644 index 0000000000..3758d5be1a --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-nnbsp.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-ogham-space.js b/test/language/white-space/after-regular-expression-literal-ogham-space.js new file mode 100644 index 0000000000..943657900e --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-ogham-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-paragraph-separator.js b/test/language/white-space/after-regular-expression-literal-paragraph-separator.js new file mode 100644 index 0000000000..fbb9cd8dd4 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-paragraph-separator.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+2029` + + + PARAGRAPH SEPARATOR + + + <PS> + + + + LineTerminator :: + <LF> + <CR> + <LS> + <PS> +---*/ + + +/x/g
; diff --git a/test/language/white-space/after-regular-expression-literal-punctuation-space.js b/test/language/white-space/after-regular-expression-literal-punctuation-space.js new file mode 100644 index 0000000000..1f37ff50b0 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-punctuation-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-six-per-em-space.js b/test/language/white-space/after-regular-expression-literal-six-per-em-space.js new file mode 100644 index 0000000000..fe5f96e060 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-six-per-em-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-space.js b/test/language/white-space/after-regular-expression-literal-space.js new file mode 100644 index 0000000000..3b9a76cf4b --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-space.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+0020` + + + SPACE + + + <SP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-tab.js b/test/language/white-space/after-regular-expression-literal-tab.js new file mode 100644 index 0000000000..a415bc7a17 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-tab.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+0009` + + + CHARACTER TABULATION + + + <TAB> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-thin-space.js b/test/language/white-space/after-regular-expression-literal-thin-space.js new file mode 100644 index 0000000000..6afd704065 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-thin-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-three-per-em-space.js b/test/language/white-space/after-regular-expression-literal-three-per-em-space.js new file mode 100644 index 0000000000..728add24b2 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-three-per-em-space.js @@ -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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-vertical-tab.js b/test/language/white-space/after-regular-expression-literal-vertical-tab.js new file mode 100644 index 0000000000..249a047082 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-vertical-tab.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+000B` + + + LINE TABULATION + + + <VT> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; diff --git a/test/language/white-space/after-regular-expression-literal-zwnbsp.js b/test/language/white-space/after-regular-expression-literal-zwnbsp.js new file mode 100644 index 0000000000..2aa87f3805 --- /dev/null +++ b/test/language/white-space/after-regular-expression-literal-zwnbsp.js @@ -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 (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 + tokens. 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 + (). 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 `/*`…`*``/` 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. + + + + `U+FEFF` + + + ZERO WIDTH NO-BREAK SPACE + + + <ZWNBSP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g;