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

Function maybeexpression

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

Source from the content-addressed store, hash-verified

373 return cont();
374 }
375 function maybeexpression(type) {
376 if (type.match(/[;\}\)\],]/)) return pass();
377 return pass(expression);
378 }
379 function maybeexpressionNoComma(type) {
380 if (type.match(/[;\}\)\],]/)) return pass();
381 return pass(expressionNoComma);

Callers

nothing calls this directly

Calls 1

passFunction · 0.70

Tested by

no test coverage detected