(charOrSet: string | KeySet)
| 136 | } |
| 137 | |
| 138 | shiftUntilNext(charOrSet: string | KeySet): string { |
| 139 | return typeof charOrSet === "string" ? |
| 140 | this.shiftUntil(s => s.peek === charOrSet) |
| 141 | : this.shiftUntil(s => s.peek in charOrSet) |
| 142 | } |
| 143 | |
| 144 | /** shifts past whitespace, returning what it shifted */ |
| 145 | skipSpace(): string { |
no test coverage detected