unicode-escape-nls-err.js (1542B)
1 // |reftest| error:SyntaxError 2 // Copyright (C) 2017 Valerie Young. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: prod-Pattern 7 description: NumericLiteralSeperator disallowed in unicode CodePoint sequence 8 info: | 9 Pattern[U, N]:: 10 Disjunction[?U, ?N] 11 12 Disjunction[U, N]:: 13 Alternative[?U, ?N] 14 Alternative[?U, ?N]|Disjunction[?U, ?N] 15 16 Alternative[U, N]:: 17 [empty] 18 Alternative[?U, ?N]Term[?U, ?N] 19 20 Term[U, N]:: 21 Assertion[?U, ?N] 22 Atom[?U, ?N] 23 Atom[?U, ?N]Quantifier 24 25 Atom[U, N]:: 26 PatternCharacter 27 . 28 \AtomEscape[?U, ?N] 29 CharacterClass[?U] 30 (GroupSpecifier[?U]Disjunction[?U, ?N]) 31 (?:Disjunction[?U, ?N]) 32 33 AtomEscape[U, N]:: 34 DecimalEscape 35 CharacterClassEscape[?U] 36 CharacterEscape[?U] 37 [+N]kGroupName[?U] 38 39 CharacterEscape[U]:: 40 ControlEscape 41 cControlLetter 42 0[lookahead ∉ DecimalDigit] 43 HexEscapeSequence 44 RegExpUnicodeEscapeSequence[?U] 45 IdentityEscape[?U] 46 47 RegExpUnicodeEscapeSequence[U]:: 48 [+U]uLeadSurrogate\uTrailSurrogate 49 [+U]uLeadSurrogate 50 [+U]uTrailSurrogate 51 [+U]uNonSurrogate 52 [~U]uHex4Digits 53 [+U]u{CodePoint} 54 55 CodePoint :: 56 HexDigit but only if MV of HexDigits ≤ 0x10FFFF 57 CodePointDigits but only if MV of HexDigits ≤ 0x10FFFF 58 59 CodePointDigits :: 60 HexDigit 61 CodePointDigitsHexDigit 62 63 HexDigit :: one of 64 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F 65 66 features: [numeric-separator-literal] 67 negative: 68 phase: parse 69 type: SyntaxError 70 ---*/ 71 72 $DONOTEVALUATE(); 73 74 /\u{1F_639}/u;