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

Function maybelabel

static/editor.md/lib/codemirror/mode/haxe/haxe.js:331–334  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

329 }
330
331 function maybelabel(type) {
332 if (type == ":") return cont(poplex, statement);
333 return pass(maybeoperator, expect(";"), poplex);
334 }
335 function property(type) {
336 if (type == "variable") {cx.marked = "property"; return cont();}
337 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
passFunction · 0.70
expectFunction · 0.70

Tested by

no test coverage detected