MCPcopy
hub / github.com/pandao/editor.md / commasep

Function commasep

lib/codemirror/mode/rust/rust.js:173–183  ·  view source on GitHub ↗
(comb, end)

Source from the content-addressed store, hash-verified

171 poplex.lex = typecx.lex = valcx.lex = true;
172
173 function commasep(comb, end) {
174 function more(type) {
175 if (type == ",") return cont(comb, more);
176 if (type == end) return cont();
177 return cont(more);
178 }
179 return function(type) {
180 if (type == end) return cont();
181 return pass(comb, more);
182 };
183 }
184
185 function stat_of(comb, tag) {
186 return cont(pushlex("stat", tag), comb, poplex, block);

Callers 5

blockFunction · 0.70
fndefFunction · 0.70
enumblockFunction · 0.70
fntypeFunction · 0.70
matchBracketsFunction · 0.70

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…