()
| 143599 | return id; |
| 143600 | } |
| 143601 | function getIdentifier() { |
| 143602 | var start, ch; |
| 143603 | start = index++; |
| 143604 | while(index < length){ |
| 143605 | ch = source.charCodeAt(index); |
| 143606 | if (ch === 0x5C) { |
| 143607 | // Blackslash (U+005C) marks Unicode escape sequence. |
| 143608 | index = start; |
| 143609 | return getEscapedIdentifier(); |
| 143610 | } |
| 143611 | if (isIdentifierPart(ch)) ++index; |
| 143612 | else break; |
| 143613 | } |
| 143614 | return source.slice(start, index); |
| 143615 | } |
| 143616 | function scanIdentifier() { |
| 143617 | var start, id, type; |
| 143618 | start = index; // Backslash (U+005C) starts an escaped character. |
no test coverage detected