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

Function haxeTokenComment

static/editor.md/lib/codemirror/mode/haxe/haxe.js:133–143  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

131 }
132
133 function haxeTokenComment(stream, state) {
134 var maybeEnd = false, ch;
135 while (ch = stream.next()) {
136 if (ch == "/" && maybeEnd) {
137 state.tokenize = haxeTokenBase;
138 break;
139 }
140 maybeEnd = (ch == "*");
141 }
142 return ret("comment", "comment");
143 }
144
145 // Parser
146

Callers

nothing calls this directly

Calls 1

retFunction · 0.70

Tested by

no test coverage detected