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

Function tokenCDATA

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

Source from the content-addressed store, hash-verified

368
369 // handle CDATA
370 function tokenCDATA(stream, state) {
371 var ch;
372 while (ch = stream.next()) {
373 if (ch == "]" && stream.match("]", true)) {
374 state.tokenize = tokenBase;
375 return ret("comment", "comment");
376 }
377 }
378 }
379
380 // handle preprocessing instructions
381 function tokenPreProcessing(stream, state) {

Callers

nothing calls this directly

Calls 1

retFunction · 0.70

Tested by

no test coverage detected