MCPcopy Index your code
hub / github.com/marijnh/Eloquent-JavaScript / err

Method err

src/pseudo_json.mjs:7–9  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

5 }
6
7 err(msg) {
8 throw new SyntaxError(msg + " at " + this.pos + " in " + JSON.stringify(this.str))
9 }
10
11 space() {
12 for (;;) {

Callers 4

parseFunction · 0.95
parseObjFunction · 0.80
parseStrFunction · 0.80
parseWordFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected