| 793 | return pass(isInterface ? functiondecl : functiondef) |
| 794 | } |
| 795 | function afterExport(type, value) { |
| 796 | if (value == "*") { cx.marked = "keyword"; return cont(maybeFrom, expect(";")); } |
| 797 | if (value == "default") { cx.marked = "keyword"; return cont(expression, expect(";")); } |
| 798 | if (type == "{") return cont(commasep(exportField, "}"), maybeFrom, expect(";")); |
| 799 | return pass(statement); |
| 800 | } |
| 801 | function exportField(type, value) { |
| 802 | if (value == "as") { cx.marked = "keyword"; return cont(expect("variable")); } |
| 803 | if (type == "variable") return pass(expressionNoComma, exportField); |