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

Function parseModuleSpecifier

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

Source from the content-addressed store, hash-verified

7159 // people.mozilla.org/~jorendorff/es6-draft.html
7160
7161 function parseModuleSpecifier() {
7162 var marker = markerCreate(),
7163 specifier;
7164
7165 if (lookahead.type !== Token.StringLiteral) {
7166 throwError({}, Messages.InvalidModuleSpecifier);
7167 }
7168 specifier = delegate.createModuleSpecifier(lookahead);
7169 lex();
7170 return markerApply(marker, specifier);
7171 }
7172
7173 function parseExportBatchSpecifier() {
7174 var marker = markerCreate();

Callers 2

parseExportDeclarationFunction · 0.85
parseImportDeclarationFunction · 0.85

Calls 4

markerCreateFunction · 0.85
throwErrorFunction · 0.85
lexFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected