(description, location)
| 311 | } |
| 312 | |
| 313 | function expected(description, location) { |
| 314 | location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos) |
| 315 | |
| 316 | throw peg$buildStructuredError( |
| 317 | [peg$otherExpectation(description)], |
| 318 | input.substring(peg$savedPos, peg$currPos), |
| 319 | location |
| 320 | ); |
| 321 | } |
| 322 | |
| 323 | function error(message, location) { |
| 324 | location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos) |
nothing calls this directly
no test coverage detected