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

Function tokenXMLComment

static/editor.md/lib/codemirror/mode/xquery/xquery.js:358–366  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

356
357 // handle comments, including nested
358 function tokenXMLComment(stream, state) {
359 var ch;
360 while (ch = stream.next()) {
361 if (ch == "-" && stream.match("->", true)) {
362 state.tokenize = tokenBase;
363 return ret("comment", "comment");
364 }
365 }
366 }
367
368
369 // handle CDATA

Callers

nothing calls this directly

Calls 1

retFunction · 0.70

Tested by

no test coverage detected