MCPcopy Create free account
hub / github.com/estools/esquery / error

Function error

parser.js:323–327  ·  view source on GitHub ↗
(message, location)

Source from the content-addressed store, hash-verified

321 }
322
323 function error(message, location) {
324 location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)
325
326 throw peg$buildSimpleError(message, location);
327 }
328
329 function peg$literalExpectation(text, ignoreCase) {
330 return { type: "literal", text: text, ignoreCase: ignoreCase };

Callers

nothing calls this directly

Calls 2

peg$computeLocationFunction · 0.85
peg$buildSimpleErrorFunction · 0.85

Tested by

no test coverage detected