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

Function typedef

static/editor.md/lib/codemirror/mode/haxe/haxe.js:325–329  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

323 }
324
325 function typedef (type, value)
326 {
327 if(type == "variable" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }
328 else if (type == "type" && /[A-Z]/.test(value.charAt(0))) { return cont(); }
329 }
330
331 function maybelabel(type) {
332 if (type == ":") return cont(poplex, statement);

Callers

nothing calls this directly

Calls 2

registerimportFunction · 0.85
contFunction · 0.70

Tested by

no test coverage detected