MCPcopy
hub / github.com/DHTMLX/gantt / arrowBodyNoComma

Function arrowBodyNoComma

samples/common/codehighlight/javascript.js:498–501  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

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