MCPcopy Create free account
hub / github.com/Paxa/postbird / arrayLiteral

Function arrayLiteral

public/codemirror/javascript/javascript.js:695–698  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

693 if (value == "from") { cx.marked = "keyword"; return cont(expression); }
694 }
695 function arrayLiteral(type) {
696 if (type == "]") return cont();
697 return pass(commasep(expressionNoComma, "]"));
698 }
699
700 function isContinuedStatement(state, textAfter) {
701 return state.lastType == "operator" || state.lastType == "," ||

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
passFunction · 0.85
commasepFunction · 0.85

Tested by

no test coverage detected