(values: string[])
| 100 | } |
| 101 | |
| 102 | expectTokensOptional(values: string[]) { |
| 103 | if (values.length === 0) return; |
| 104 | if (this.read() === values[0]) { |
| 105 | this.next(); |
| 106 | for (const v of values.slice(1)) { |
| 107 | this.expectToken(v); |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | expectTokens(values: string[]) { |
| 113 | for (const v of values) { |
no test coverage detected