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

Function arrayLiteral

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

Source from the content-addressed store, hash-verified

824 if (value == "from") { cx.marked = "keyword"; return cont(expression); }
825 }
826 function arrayLiteral(type) {
827 if (type == "]") return cont();
828 return pass(commasep(expressionNoComma, "]"));
829 }
830 function enumdef() {
831 return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex)
832 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
passFunction · 0.85
commasepFunction · 0.85

Tested by

no test coverage detected