MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / quasi

Function quasi

lib/web/CodeMirror/mode/javascript/javascript.js:479–483  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

477 }
478 }
479 function quasi(type, value) {
480 if (type != "quasi") return pass();
481 if (value.slice(value.length - 2) != "${") return cont(quasi);
482 return cont(expression, continueQuasi);
483 }
484 function continueQuasi(type) {
485 if (type == "}") {
486 cx.marked = "string-2";

Callers

nothing calls this directly

Calls 2

passFunction · 0.70
contFunction · 0.70

Tested by

no test coverage detected