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

Function parseImportSpecifier

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

Source from the content-addressed store, hash-verified

7306
7307
7308 function parseImportSpecifier() {
7309 // import {<foo as bar>} ...;
7310 var id, name = null, marker = markerCreate();
7311
7312 id = parseNonComputedProperty();
7313 if (matchContextualKeyword('as')) {
7314 lex();
7315 name = parseVariableIdentifier();
7316 }
7317
7318 return markerApply(marker, delegate.createImportSpecifier(id, name));
7319 }
7320
7321 function parseNamedImports() {
7322 var specifiers = [];

Callers 1

parseNamedImportsFunction · 0.85

Calls 6

markerCreateFunction · 0.85
parseNonComputedPropertyFunction · 0.85
matchContextualKeywordFunction · 0.85
lexFunction · 0.85
parseVariableIdentifierFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected