MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / arrowBodyNoComma

Function arrowBodyNoComma

front-end/cm/javascript.js:420–424  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

418 return pass(expression);
419 }
420 function arrowBodyNoComma(type) {
421 findFatArrow(cx.stream, cx.state);
422 if (type == "{") return pass(statement);
423 return pass(expressionNoComma);
424 }
425 function maybelabel(type) {
426 if (type == ":") return cont(poplex, statement);
427 return pass(maybeoperatorComma, expect(";"), poplex);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected