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

Function functiondef

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

Source from the content-addressed store, hash-verified

372 if (value == "in") return cont();
373 }
374 function functiondef(type, value) {
375 if (type == "variable") {register(value); return cont(functiondef);}
376 if (value == "new") return cont(functiondef);
377 if (type == "(") return cont(pushlex(")"), pushcontext, commasep(funarg, ")"), poplex, typeuse, statement, popcontext);
378 }
379 function typeuse(type) {
380 if(type == ":") return cont(typestring);
381 }

Callers

nothing calls this directly

Calls 4

registerFunction · 0.70
contFunction · 0.70
pushlexFunction · 0.70
commasepFunction · 0.70

Tested by

no test coverage detected