(character: string)
| 888 | } |
| 889 | |
| 890 | private expect(character: string): void { |
| 891 | if (this.peek() !== character) this.fail(`Expected '${character}'`) |
| 892 | this.index++ |
| 893 | this.afterJsonNode = false |
| 894 | } |
| 895 | |
| 896 | private peek(): string { |
| 897 | // Inside a collection, the end of the line continues on the next line. |
no test coverage detected