MCPcopy Create free account
hub / github.com/estools/esquery / peg$buildSimpleError

Function peg$buildSimpleError

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

Source from the content-addressed store, hash-verified

409 }
410
411 function peg$buildSimpleError(message, location) {
412 return new peg$SyntaxError(message, null, null, location);
413 }
414
415 function peg$buildStructuredError(expected, found, location) {
416 return new peg$SyntaxError(

Callers 1

errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected