MCPcopy
hub / github.com/DHTMLX/gantt / afterExport

Function afterExport

samples/common/codehighlight/javascript.js:795–800  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 4

contFunction · 0.85
expectFunction · 0.85
commasepFunction · 0.85
passFunction · 0.85

Tested by

no test coverage detected