| 733 | return pass(expression, forspec2) |
| 734 | } |
| 735 | function functiondef(type, value) { |
| 736 | if (value == "*") {cx.marked = "keyword"; return cont(functiondef);} |
| 737 | if (type == "variable") {register(value); return cont(functiondef);} |
| 738 | if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, statement, popcontext); |
| 739 | if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondef) |
| 740 | } |
| 741 | function functiondecl(type, value) { |
| 742 | if (value == "*") {cx.marked = "keyword"; return cont(functiondecl);} |
| 743 | if (type == "variable") {register(value); return cont(functiondecl);} |