(type, value)
| 688 | return pass(pattern, maybetype, maybeAssign, vardefCont); |
| 689 | } |
| 690 | function pattern(type, value) { |
| 691 | if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(pattern) } |
| 692 | if (type == "variable") { register(value); return cont(); } |
| 693 | if (type == "spread") return cont(pattern); |
| 694 | if (type == "[") return contCommasep(eltpattern, "]"); |
| 695 | if (type == "{") return contCommasep(proppattern, "}"); |
| 696 | } |
| 697 | function proppattern(type, value) { |
| 698 | if (type == "variable" && !cx.stream.match(/^\s*:/, false)) { |
| 699 | register(value); |
nothing calls this directly
no test coverage detected