| 3 | const TokenType = { Plain: 0, Comment: 1, QuotedBlock: 2 } as const; |
| 4 | |
| 5 | interface SQLToken { |
| 6 | type: number; |
| 7 | /** Position just past the end of this token (the next unprocessed character) */ |
| 8 | end: number; |
| 9 | } |
| 10 | |
| 11 | function plainToken(i: number): SQLToken { |
| 12 | return { type: TokenType.Plain, end: i + 1 }; |
nothing calls this directly
no outgoing calls
no test coverage detected