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

Function importdef

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

Source from the content-addressed store, hash-verified

318 }
319
320 function importdef (type, value) {
321 if(type == "variable" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }
322 else if(type == "variable" || type == "property" || type == "." || value == "*") return cont(importdef);
323 }
324
325 function typedef (type, value)
326 {

Callers

nothing calls this directly

Calls 2

registerimportFunction · 0.85
contFunction · 0.70

Tested by

no test coverage detected