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

Function tokenComment

static/editor.md/lib/codemirror/mode/octave/octave.js:57–64  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

55
56
57 function tokenComment(stream, state) {
58 if (stream.match(/^.*%}/)) {
59 state.tokenize = tokenBase;
60 return 'comment';
61 };
62 stream.skipToEnd();
63 return 'comment';
64 }
65
66 function tokenBase(stream, state) {
67 // whitespaces

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected