MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / arrowBodyNoComma

Function arrowBodyNoComma

lib/web/CodeMirror/mode/javascript/javascript.js:495–498  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

493 return pass(type == "{" ? statement : expression);
494 }
495 function arrowBodyNoComma(type) {
496 findFatArrow(cx.stream, cx.state);
497 return pass(type == "{" ? statement : expressionNoComma);
498 }
499 function maybeTarget(noComma) {
500 return function(type) {
501 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