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

Function parseClassImplements

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

Source from the content-addressed store, hash-verified

8570 }
8571
8572 function parseClassImplements() {
8573 var id, implemented = [], marker, typeParameters;
8574 if (strict) {
8575 expectKeyword('implements');
8576 } else {
8577 expectContextualKeyword('implements');
8578 }
8579 while (index < length) {
8580 marker = markerCreate();
8581 id = parseVariableIdentifier();
8582 if (match('<')) {
8583 typeParameters = parseTypeParameterInstantiation();
8584 } else {
8585 typeParameters = null;
8586 }
8587 implemented.push(markerApply(marker, delegate.createClassImplements(
8588 id,
8589 typeParameters
8590 )));
8591 if (!match(',')) {
8592 break;
8593 }
8594 expect(',');
8595 }
8596 return implemented;
8597 }
8598
8599 function parseClassExpression() {
8600 var id, implemented, previousYieldAllowed, superClass = null,

Callers 2

parseClassExpressionFunction · 0.85
parseClassDeclarationFunction · 0.85

Calls 8

expectKeywordFunction · 0.85
expectContextualKeywordFunction · 0.85
markerCreateFunction · 0.85
parseVariableIdentifierFunction · 0.85
matchFunction · 0.85
markerApplyFunction · 0.85
expectFunction · 0.85

Tested by

no test coverage detected