MCPcopy Index your code
hub / github.com/pegjs/pegjs / peg$buildStructuredError

Function peg$buildStructuredError

lib/parser.js:625–632  ·  view source on GitHub ↗
(expected, found, location)

Source from the content-addressed store, hash-verified

623 }
624
625 function peg$buildStructuredError(expected, found, location) {
626 return new peg$SyntaxError(
627 peg$SyntaxError.buildMessage(expected, found),
628 expected,
629 found,
630 location
631 );
632 }
633
634 function peg$parseGrammar() {
635 var s0, s1, s2, s3, s4, s5, s6;

Callers 2

expectedFunction · 0.85
peg$parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…