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

Function maybeexpression

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

Source from the content-addressed store, hash-verified

448 return cont();
449 }
450 function maybeexpression(type) {
451 if (type.match(/[;\}\)\],]/)) return pass();
452 return pass(expression);
453 }
454
455 function maybeoperatorComma(type, value) {
456 if (type == ",") return cont(maybeexpression);

Callers

nothing calls this directly

Calls 1

passFunction · 0.85

Tested by

no test coverage detected