MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / functiondef

Function functiondef

front-end/cm/javascript.js:531–535  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

529 if (type != ")") cont(expression);
530 }
531 function functiondef(type, value) {
532 if (value == "*") {cx.marked = "keyword"; return cont(functiondef);}
533 if (type == "variable") {register(value); return cont(functiondef);}
534 if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, statement, popcontext);
535 }
536 function funarg(type) {
537 if (type == "spread") return cont(funarg);
538 return pass(pattern, maybetype);

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected