(tokens: readonly string[])
| 28 | } |
| 29 | |
| 30 | export function parseColmapNumberTokens(tokens: readonly string[]): number[] | null { |
| 31 | const values: number[] = []; |
| 32 | for (const token of tokens) { |
| 33 | const value = parseColmapNumberToken(token); |
| 34 | if (value === null) return null; |
| 35 | values.push(value); |
| 36 | } |
| 37 | return values; |
| 38 | } |
| 39 | |
| 40 | export function parseColmapBigIntToken(token: string): bigint | null { |
| 41 | const trimmedToken = token.trim(); |
no test coverage detected