MCPcopy
hub / github.com/witheve/Eve / tokenCComment

Function tokenCComment

src/css.js:690–700  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

688 CodeMirror.registerHelper("hintWords", "css", allWords);
689
690 function tokenCComment(stream, state) {
691 var maybeEnd = false, ch;
692 while ((ch = stream.next()) != null) {
693 if (maybeEnd && ch == "/") {
694 state.tokenize = null;
695 break;
696 }
697 maybeEnd = (ch == "*");
698 }
699 return ["comment", "comment"];
700 }
701
702 CodeMirror.defineMIME("text/css", {
703 documentTypes: documentTypes,

Callers 1

css.jsFile · 0.85

Calls 1

nextMethod · 0.65

Tested by

no test coverage detected