MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / funarg

Function funarg

static/libs/javascript.js:755–761  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

753 }
754 }
755 function funarg(type, value) {
756 if (value == "@") cont(expression, funarg)
757 if (type == "spread") return cont(funarg);
758 if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(funarg); }
759 if (isTS && type == "this") return cont(maybetype, maybeAssign)
760 return pass(pattern, maybetype, maybeAssign);
761 }
762 function classExpression(type, value) {
763 // Class expressions may have an optional name.
764 if (type == "variable") return className(type, value);

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
isModifierFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected