MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / exp

Function exp

static/plugins/codemirror/mode/javascript/javascript.js:361–365  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

359
360 function expect(wanted) {
361 function exp(type) {
362 if (type == wanted) return cont();
363 else if (wanted == ";" || type == "}" || type == ")" || type == "]") return pass();
364 else return cont(exp);
365 };
366 return exp;
367 }
368

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected