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

Function pattern

front-end/cm/javascript.js:488–492  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

486 return pass(pattern, maybetype, maybeAssign, vardefCont);
487 }
488 function pattern(type, value) {
489 if (type == "variable") { register(value); return cont(); }
490 if (type == "[") return contCommasep(pattern, "]");
491 if (type == "{") return contCommasep(proppattern, "}");
492 }
493 function proppattern(type, value) {
494 if (type == "variable" && !cx.stream.match(/^\s*:/, false)) {
495 register(value);

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
contCommasepFunction · 0.85
registerFunction · 0.70

Tested by

no test coverage detected