()
| 3021 | } |
| 3022 | |
| 3023 | function getIdentifier() { |
| 3024 | var start, ch; |
| 3025 | |
| 3026 | start = index++; |
| 3027 | while (index < length) { |
| 3028 | ch = source.charCodeAt(index); |
| 3029 | if (ch === 92) { |
| 3030 | // Blackslash (char #92) marks Unicode escape sequence. |
| 3031 | index = start; |
| 3032 | return getEscapedIdentifier(); |
| 3033 | } |
| 3034 | if (isIdentifierPart(ch)) { |
| 3035 | ++index; |
| 3036 | } else { |
| 3037 | break; |
| 3038 | } |
| 3039 | } |
| 3040 | |
| 3041 | return source.slice(start, index); |
| 3042 | } |
| 3043 | |
| 3044 | function scanIdentifier() { |
| 3045 | var start, id, type; |
no test coverage detected