(text: string)
| 17 | |
| 18 | const at = (text: string): boolean => tokens[index]?.text === text |
| 19 | const take = (text: string): boolean => at(text) ? (index++, true) : false |
| 20 | const expect = (text: string): void => { |
| 21 | if (!take(text)) fail() |
| 22 | } |
no test coverage detected