MCPcopy Create free account
hub / github.com/TruthHun/BookStack / quasi

Function quasi

static/editor.md/lib/codemirror/mode/javascript/javascript.js:408–412  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

406 if (type == "[") return cont(pushlex("]"), maybeexpression, expect("]"), poplex, me);
407 }
408 function quasi(type, value) {
409 if (type != "quasi") return pass();
410 if (value.slice(value.length - 2) != "${") return cont(quasi);
411 return cont(expression, continueQuasi);
412 }
413 function continueQuasi(type) {
414 if (type == "}") {
415 cx.marked = "string-2";

Callers

nothing calls this directly

Calls 2

passFunction · 0.70
contFunction · 0.70

Tested by

no test coverage detected