MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / tokenCComment

Function tokenCComment

static/js/codemirror/mode/css/css.js:251–261  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

249 }
250
251 function tokenCComment(stream, state) {
252 var maybeEnd = false, ch;
253 while ((ch = stream.next()) != null) {
254 if (maybeEnd && ch == "/") {
255 state.tokenize = tokenBase;
256 break;
257 }
258 maybeEnd = (ch == "*");
259 }
260 return ret("comment", "comment");
261 }
262
263 function tokenSGMLComment(stream, state) {
264 var dashes = 0, ch;

Callers 1

tokenBaseFunction · 0.70

Calls 2

retFunction · 0.70
nextMethod · 0.45

Tested by

no test coverage detected