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

Function tokenTripleString

static/editor.md/lib/codemirror/mode/clike/clike.js:350–360  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

348 });
349
350 function tokenTripleString(stream, state) {
351 var escaped = false;
352 while (!stream.eol()) {
353 if (!escaped && stream.match('"""')) {
354 state.tokenize = null;
355 break;
356 }
357 escaped = stream.next() == "\\" && !escaped;
358 }
359 return "string";
360 }
361
362 def("text/x-scala", {
363 name: "clike",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected