()
| 7177 | } |
| 7178 | |
| 7179 | function parseExportSpecifier() { |
| 7180 | var id, name = null, marker = markerCreate(), from; |
| 7181 | if (matchKeyword('default')) { |
| 7182 | lex(); |
| 7183 | id = markerApply(marker, delegate.createIdentifier('default')); |
| 7184 | // export {default} from "something"; |
| 7185 | } else { |
| 7186 | id = parseVariableIdentifier(); |
| 7187 | } |
| 7188 | if (matchContextualKeyword('as')) { |
| 7189 | lex(); |
| 7190 | name = parseNonComputedProperty(); |
| 7191 | } |
| 7192 | |
| 7193 | return markerApply(marker, delegate.createExportSpecifier(id, name)); |
| 7194 | } |
| 7195 | |
| 7196 | function parseExportDeclaration() { |
| 7197 | var declaration = null, |
no test coverage detected