MCPcopy Create free account
hub / github.com/codemix/graph / peg$buildStructuredError

Function peg$buildStructuredError

packages/graph/src/grammar.js:2496–2503  ·  view source on GitHub ↗
(expected, found, location)

Source from the content-addressed store, hash-verified

2494 }
2495
2496 function peg$buildStructuredError(expected, found, location) {
2497 return new peg$SyntaxError(
2498 peg$SyntaxError.buildMessage(expected, found),
2499 expected,
2500 found,
2501 location
2502 );
2503 }
2504
2505 function peg$parseMultiStatement() {
2506 let s0, s1, s2, s3, s4, s5, s6, s7, s8;

Callers 2

expectedFunction · 0.85
peg$throwFunction · 0.85

Calls 1

buildMessageMethod · 0.80

Tested by

no test coverage detected