()
| 357 | }, |
| 358 | |
| 359 | identifierNameEscape () { |
| 360 | if (c !== 'u') { |
| 361 | throw invalidChar(read()) |
| 362 | } |
| 363 | |
| 364 | read() |
| 365 | const u = unicodeEscape() |
| 366 | switch (u) { |
| 367 | case '$': |
| 368 | case '_': |
| 369 | case '\u200C': |
| 370 | case '\u200D': |
| 371 | break |
| 372 | |
| 373 | default: |
| 374 | if (!util.isIdContinueChar(u)) { |
| 375 | throw invalidIdentifier() |
| 376 | } |
| 377 | |
| 378 | break |
| 379 | } |
| 380 | |
| 381 | buffer += u |
| 382 | lexState = 'identifierName' |
| 383 | }, |
| 384 | |
| 385 | sign () { |
| 386 | switch (c) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…