| 725 | if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondef) |
| 726 | } |
| 727 | function functiondecl(type, value) { |
| 728 | if (value == "*") {cx.marked = "keyword"; return cont(functiondecl);} |
| 729 | if (type == "variable") {register(value); return cont(functiondecl);} |
| 730 | if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, popcontext); |
| 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" |