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

Function tokenComment

static/editor.md/lib/codemirror/mode/mirc/mirc.js:153–163  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

151 }
152 }
153 function tokenComment(stream, state) {
154 var maybeEnd = false, ch;
155 while (ch = stream.next()) {
156 if (ch == "/" && maybeEnd) {
157 state.tokenize = tokenBase;
158 break;
159 }
160 maybeEnd = (ch == "*");
161 }
162 return "comment";
163 }
164 function tokenUnparsed(stream, state) {
165 var maybeEnd = 0, ch;
166 while (ch = stream.next()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected