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

Function tokenCComment

static/editor.md/lib/codemirror/mode/css/css.js:642–652  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

640 CodeMirror.registerHelper("hintWords", "css", allWords);
641
642 function tokenCComment(stream, state) {
643 var maybeEnd = false, ch;
644 while ((ch = stream.next()) != null) {
645 if (maybeEnd && ch == "/") {
646 state.tokenize = null;
647 break;
648 }
649 maybeEnd = (ch == "*");
650 }
651 return ["comment", "comment"];
652 }
653
654 function tokenSGMLComment(stream, state) {
655 if (stream.skipTo("-->")) {

Callers 1

css.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected