(type, value)
| 726 | if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondecl) |
| 727 | } |
| 728 | function typename(type, value) { |
| 729 | if (type == "keyword" || type == "variable") { |
| 730 | cx.marked = "type" |
| 731 | return cont(typename) |
| 732 | } else if (value == "<") { |
| 733 | return cont(pushlex(">"), commasep(typeparam, ">"), poplex) |
| 734 | } |
| 735 | } |
| 736 | function funarg(type, value) { |
| 737 | if (value == "@") cont(expression, funarg) |
| 738 | if (type == "spread") return cont(funarg); |