(start: number)
| 732 | } |
| 733 | |
| 734 | private scanRegexFlags(start: number): Token | null { |
| 735 | if (!chars.isAsciiLetter(this.peek)) { |
| 736 | return null; |
| 737 | } |
| 738 | |
| 739 | while (chars.isAsciiLetter(this.peek)) { |
| 740 | this.advance(); |
| 741 | } |
| 742 | |
| 743 | return newRegExpFlagsToken(start, this.index, this.input.substring(start, this.index)); |
| 744 | } |
| 745 | } |
| 746 | |
| 747 | function isIdentifierStart(code: number): boolean { |
no test coverage detected