(type, value)
| 570 | return pass(pattern, maybetype, maybeAssign, vardefCont); |
| 571 | } |
| 572 | function pattern(type, value) { |
| 573 | if (type == "modifier") return cont(pattern) |
| 574 | if (type == "variable") { register(value); return cont(); } |
| 575 | if (type == "spread") return cont(pattern); |
| 576 | if (type == "[") return contCommasep(pattern, "]"); |
| 577 | if (type == "{") return contCommasep(proppattern, "}"); |
| 578 | } |
| 579 | function proppattern(type, value) { |
| 580 | if (type == "variable" && !cx.stream.match(/^\s*:/, false)) { |
| 581 | register(value); |
nothing calls this directly
no test coverage detected