(type, value)
| 562 | else if (type == ":") return cont(typeexpr) |
| 563 | } |
| 564 | function afterType(type, value) { |
| 565 | if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType) |
| 566 | if (value == "|" || type == ".") return cont(typeexpr) |
| 567 | if (type == "[") return cont(expect("]"), afterType) |
| 568 | } |
| 569 | function vardef() { |
| 570 | return pass(pattern, maybetype, maybeAssign, vardefCont); |
| 571 | } |