MCPcopy
hub / github.com/SilentVoid13/Templater / arrowBody

Function arrowBody

src/editor/mode/javascript.js:782–785  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

780 }
781 }
782 function arrowBody(type) {
783 findFatArrow(cx.stream, cx.state);
784 return pass(type == "{" ? statement : expression);
785 }
786 function arrowBodyNoComma(type) {
787 findFatArrow(cx.stream, cx.state);
788 return pass(type == "{" ? statement : expressionNoComma);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.85

Tested by

no test coverage detected