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