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

Function parseJSXElementName

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

Source from the content-addressed store, hash-verified

9248 }
9249
9250 function parseJSXElementName() {
9251 if (lookahead2().value === ':') {
9252 return parseJSXNamespacedName();
9253 }
9254 if (lookahead2().value === '.') {
9255 return parseJSXMemberExpression();
9256 }
9257
9258 return parseJSXIdentifier();
9259 }
9260
9261 function parseJSXAttributeName() {
9262 if (lookahead2().value === ':') {

Callers 2

parseJSXClosingElementFunction · 0.85
parseJSXOpeningElementFunction · 0.85

Calls 4

lookahead2Function · 0.85
parseJSXNamespacedNameFunction · 0.85
parseJSXMemberExpressionFunction · 0.85
parseJSXIdentifierFunction · 0.85

Tested by

no test coverage detected