()
| 7319 | } |
| 7320 | |
| 7321 | function parseNamedImports() { |
| 7322 | var specifiers = []; |
| 7323 | // {foo, bar as bas} |
| 7324 | expect('{'); |
| 7325 | if (!match('}')) { |
| 7326 | do { |
| 7327 | specifiers.push(parseImportSpecifier()); |
| 7328 | } while (match(',') && lex()); |
| 7329 | } |
| 7330 | expect('}'); |
| 7331 | return specifiers; |
| 7332 | } |
| 7333 | |
| 7334 | function parseImportDefaultSpecifier() { |
| 7335 | // import <foo> ...; |
no test coverage detected