| 271 | return pass(); |
| 272 | } |
| 273 | function fndef(type) { |
| 274 | if (content == "@" || content == "~") {cx.marked = "keyword"; return cont(fndef);} |
| 275 | if (type == "name") {cx.marked = "def"; return cont(fndef);} |
| 276 | if (content == "<") return cont(typarams, fndef); |
| 277 | if (type == "{") return pass(expression); |
| 278 | if (type == "(") return cont(pushlex(")"), commasep(argdef, ")"), poplex, fndef); |
| 279 | if (type == "->") return cont(typecx, rtype, valcx, fndef); |
| 280 | if (type == ";") return cont(); |
| 281 | return cont(fndef); |
| 282 | } |
| 283 | function tydef(type) { |
| 284 | if (type == "name") {cx.marked = "def"; return cont(tydef);} |
| 285 | if (content == "<") return cont(typarams, tydef); |