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

Function arrowBodyNoComma

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

Source from the content-addressed store, hash-verified

784 return pass(type == "{" ? statement : expression);
785 }
786 function arrowBodyNoComma(type) {
787 findFatArrow(cx.stream, cx.state);
788 return pass(type == "{" ? statement : expressionNoComma);
789 }
790 function maybeTarget(noComma) {
791 return function (type) {
792 if (type == ".") return cont(noComma ? targetNoComma : target);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.85

Tested by

no test coverage detected