(scanner: Scanner)
| 902 | } |
| 903 | |
| 904 | function consumeOperator(scanner: Scanner): string { |
| 905 | const source = scanner.source; |
| 906 | const start = scanner.index; |
| 907 | scanner.index += 1; |
| 908 | while (scanner.index < source.length && OPERATOR_CHARS.has(asChar(source, scanner.index))) { |
| 909 | scanner.index += 1; |
| 910 | } |
| 911 | return source.slice(start, scanner.index); |
| 912 | } |
| 913 | |
| 914 | function classifyWord( |
| 915 | word: string, |
no test coverage detected