| 664 | return pass(functiondef) |
| 665 | } |
| 666 | function afterExport(type, value) { |
| 667 | if (value == "*") { cx.marked = "keyword"; return cont(maybeFrom, expect(";")); } |
| 668 | if (value == "default") { cx.marked = "keyword"; return cont(expression, expect(";")); } |
| 669 | if (type == "{") return cont(commasep(exportField, "}"), maybeFrom, expect(";")); |
| 670 | return pass(statement); |
| 671 | } |
| 672 | function exportField(type, value) { |
| 673 | if (value == "as") { cx.marked = "keyword"; return cont(expect("variable")); } |
| 674 | if (type == "variable") return pass(expressionNoComma, exportField); |