| 719 | return pass(expression, forspec2) |
| 720 | } |
| 721 | function functiondef(type, value) { |
| 722 | if (value == "*") {cx.marked = "keyword"; return cont(functiondef);} |
| 723 | if (type == "variable") {register(value); return cont(functiondef);} |
| 724 | if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, statement, popcontext); |
| 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);} |