MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / proceed

Function proceed

static/plugins/codemirror/mode/javascript/javascript.js:563–575  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

561 }
562 function commasep(what, end, sep) {
563 function proceed(type, value) {
564 if (sep ? sep.indexOf(type) > -1 : type == ",") {
565 var lex = cx.state.lexical;
566 if (lex.info == "call") lex.pos = (lex.pos || 0) + 1;
567 return cont(function(type, value) {
568 if (type == end || value == end) return pass()
569 return pass(what)
570 }, proceed);
571 }
572 if (type == end || value == end) return cont();
573 if (sep && sep.indexOf(";") > -1) return pass(what)
574 return cont(expect(end));
575 }
576 return function(type, value) {
577 if (type == end || value == end) return cont();
578 return pass(what, proceed);

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
passFunction · 0.70
expectFunction · 0.70

Tested by

no test coverage detected