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