MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / commasep

Function commasep

front-end/cm/javascript.js:455–469  ·  view source on GitHub ↗
(what, end)

Source from the content-addressed store, hash-verified

453 if (type == "(") return pass(functiondef);
454 }
455 function commasep(what, end) {
456 function proceed(type) {
457 if (type == ",") {
458 var lex = cx.state.lexical;
459 if (lex.info == "call") lex.pos = (lex.pos || 0) + 1;
460 return cont(what, proceed);
461 }
462 if (type == end) return cont();
463 return cont(expect(end));
464 }
465 return function(type) {
466 if (type == end) return cont();
467 return pass(what, proceed);
468 };
469 }
470 function contCommasep(what, end, info) {
471 for (var i = 3; i < arguments.length; i++)
472 cx.cc.push(arguments[i]);

Callers 4

expressionInnerFunction · 0.85
contCommasepFunction · 0.85
functiondefFunction · 0.85
maybeArrayComprehensionFunction · 0.85

Calls 2

contFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected