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

Function quasi

static/plugins/codemirror/mode/javascript/javascript.js:483–487  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

481 }
482 }
483 function quasi(type, value) {
484 if (type != "quasi") return pass();
485 if (value.slice(value.length - 2) != "${") return cont(quasi);
486 return cont(maybeexpression, continueQuasi);
487 }
488 function continueQuasi(type) {
489 if (type == "}") {
490 cx.marked = "string-2";

Callers

nothing calls this directly

Calls 2

passFunction · 0.70
contFunction · 0.70

Tested by

no test coverage detected