()
| 41 | } |
| 42 | |
| 43 | nextCharacter() { |
| 44 | const character = this.source[this.position++]; |
| 45 | if (character === "\\") { |
| 46 | return { |
| 47 | escaped: true, |
| 48 | value: this.source[this.position++], |
| 49 | }; |
| 50 | } |
| 51 | return { |
| 52 | escaped: false, |
| 53 | value: character, |
| 54 | }; |
| 55 | } |
| 56 | |
| 57 | record(character: string): void { |
| 58 | this.recorded.push(character); |
no outgoing calls
no test coverage detected