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

Function maybelabel

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

Source from the content-addressed store, hash-verified

513 if (value == "target") { cx.marked = "keyword"; return cont(maybeoperatorNoComma); }
514 }
515 function maybelabel(type) {
516 if (type == ":") return cont(poplex, statement);
517 return pass(maybeoperatorComma, expect(";"), poplex);
518 }
519 function property(type) {
520 if (type == "variable") {cx.marked = "property"; return cont();}
521 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
passFunction · 0.85
expectFunction · 0.85

Tested by

no test coverage detected