()
| 310 | }, |
| 311 | |
| 312 | identifierNameStartEscape () { |
| 313 | if (c !== 'u') { |
| 314 | throw invalidChar(read()) |
| 315 | } |
| 316 | |
| 317 | read() |
| 318 | const u = unicodeEscape() |
| 319 | switch (u) { |
| 320 | case '$': |
| 321 | case '_': |
| 322 | break |
| 323 | |
| 324 | default: |
| 325 | if (!util.isIdStartChar(u)) { |
| 326 | throw invalidIdentifier() |
| 327 | } |
| 328 | |
| 329 | break |
| 330 | } |
| 331 | |
| 332 | buffer += u |
| 333 | lexState = 'identifierName' |
| 334 | }, |
| 335 | |
| 336 | identifierName () { |
| 337 | switch (c) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…