MCPcopy Create free account
hub / github.com/Paxa/postbird / arrowBody

Function arrowBody

public/codemirror/javascript/javascript.js:449–452  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

447 }
448 }
449 function arrowBody(type) {
450 findFatArrow(cx.stream, cx.state);
451 return pass(type == "{" ? statement : expression);
452 }
453 function arrowBodyNoComma(type) {
454 findFatArrow(cx.stream, cx.state);
455 return pass(type == "{" ? statement : expressionNoComma);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.85

Tested by

no test coverage detected