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

Function arrowBodyNoComma

static/libs/javascript.js:499–502  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

497 return pass(type == "{" ? statement : expression);
498 }
499 function arrowBodyNoComma(type) {
500 findFatArrow(cx.stream, cx.state);
501 return pass(type == "{" ? statement : expressionNoComma);
502 }
503 function maybeTarget(noComma) {
504 return function(type) {
505 if (type == ".") return cont(noComma ? targetNoComma : target);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected