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

Function parseExportSpecifier

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

Source from the content-addressed store, hash-verified

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,

Callers 1

parseExportDeclarationFunction · 0.85

Calls 7

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

Tested by

no test coverage detected