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

Function tokenString

static/editor.md/lib/codemirror/mode/dylan/dylan.js:263–276  ·  view source on GitHub ↗
(quote, type, style)

Source from the content-addressed store, hash-verified

261 }
262
263 function tokenString(quote, type, style) {
264 return function(stream, state) {
265 var next, end = false;
266 while ((next = stream.next()) != null) {
267 if (next == quote) {
268 end = true;
269 break;
270 }
271 }
272 if (end)
273 state.tokenize = tokenBase;
274 return ret(type, style);
275 };
276 }
277
278 // Interface
279 return {

Callers 1

tokenBaseFunction · 0.70

Calls 1

retFunction · 0.70

Tested by

no test coverage detected