(type, value)
| 669 | return pass(pattern, maybetype, maybeAssign, vardefCont); |
| 670 | } |
| 671 | function pattern(type, value) { |
| 672 | if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(pattern) } |
| 673 | if (type == "variable") { register(value); return cont(); } |
| 674 | if (type == "spread") return cont(pattern); |
| 675 | if (type == "[") return contCommasep(eltpattern, "]"); |
| 676 | if (type == "{") return contCommasep(proppattern, "}"); |
| 677 | } |
| 678 | function proppattern(type, value) { |
| 679 | if (type == "variable" && !cx.stream.match(/^\s*:/, false)) { |
| 680 | register(value); |
nothing calls this directly
no test coverage detected