(throwOnInvalid: boolean)
| 1346 | // Read a string value, interpreting backslash-escapes. |
| 1347 | |
| 1348 | readCodePoint(throwOnInvalid: boolean): number | null { |
| 1349 | const { code, pos } = readCodePoint( |
| 1350 | this.input, |
| 1351 | this.state.pos, |
| 1352 | this.state.lineStart, |
| 1353 | this.state.curLine, |
| 1354 | throwOnInvalid, |
| 1355 | this.errorHandlers_readCodePoint, |
| 1356 | ); |
| 1357 | this.state.pos = pos; |
| 1358 | return code; |
| 1359 | } |
| 1360 | |
| 1361 | readString(quote: number): void { |
| 1362 | const { str, pos, curLine, lineStart } = readStringContents( |
nothing calls this directly
no test coverage detected