MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / funarg

Function funarg

lib/web/CodeMirror/mode/javascript/javascript.js:736–742  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

734 }
735 }
736 function funarg(type, value) {
737 if (value == "@") cont(expression, funarg)
738 if (type == "spread") return cont(funarg);
739 if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(funarg); }
740 if (isTS && type == "this") return cont(maybetype, maybeAssign)
741 return pass(pattern, maybetype, maybeAssign);
742 }
743 function classExpression(type, value) {
744 // Class expressions may have an optional name.
745 if (type == "variable") return className(type, value);

Callers

nothing calls this directly

Calls 3

isModifierFunction · 0.85
contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected