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

Function arrowBodyNoComma

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

Source from the content-addressed store, hash-verified

451 return pass(type == "{" ? statement : expression);
452 }
453 function arrowBodyNoComma(type) {
454 findFatArrow(cx.stream, cx.state);
455 return pass(type == "{" ? statement : expressionNoComma);
456 }
457 function maybeTarget(noComma) {
458 return function(type) {
459 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