MCPcopy Index your code
hub / github.com/reactjs/react-rails / parseNamedImports

Function parseNamedImports

lib/assets/javascripts/JSXTransformer.js:7321–7332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

parseImportDeclarationFunction · 0.85

Calls 4

expectFunction · 0.85
matchFunction · 0.85
parseImportSpecifierFunction · 0.85
lexFunction · 0.85

Tested by

no test coverage detected