(start: number)
| 747 | } |
| 748 | |
| 749 | private scanRegexFlags(start: number): Token | null { |
| 750 | if (!chars.isAsciiLetter(this.peek)) { |
| 751 | return null; |
| 752 | } |
| 753 | |
| 754 | while (chars.isAsciiLetter(this.peek)) { |
| 755 | this.advance(); |
| 756 | } |
| 757 | |
| 758 | return newRegExpFlagsToken(start, this.index, this.input.substring(start, this.index)); |
| 759 | } |
| 760 | } |
| 761 | |
| 762 | function isIdentifierStart(code: number): boolean { |
no test coverage detected