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

Function maybelabel

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

Source from the content-addressed store, hash-verified

467 if (value == "target") { cx.marked = "keyword"; return cont(maybeoperatorNoComma); }
468 }
469 function maybelabel(type) {
470 if (type == ":") return cont(poplex, statement);
471 return pass(maybeoperatorComma, expect(";"), poplex);
472 }
473 function property(type) {
474 if (type == "variable") {cx.marked = "property"; return cont();}
475 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
passFunction · 0.85
expectFunction · 0.85

Tested by

no test coverage detected