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

Function clikeComment

static/editor.md/lib/codemirror/mode/gas/gas.js:245–255  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

243 }
244
245 function clikeComment(stream, state) {
246 var maybeEnd = false, ch;
247 while ((ch = stream.next()) != null) {
248 if (ch === "/" && maybeEnd) {
249 state.tokenize = null;
250 break;
251 }
252 maybeEnd = (ch === "*");
253 }
254 return "comment";
255 }
256
257 return {
258 startState: function() {

Callers 1

gas.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected