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

Function parseDeclareVariable

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

Source from the content-addressed store, hash-verified

9593 }
9594
9595 function parseDeclareVariable() {
9596 var id, marker = markerCreate();
9597 expectContextualKeyword('declare');
9598 expectKeyword('var');
9599 id = parseTypeAnnotatableIdentifier();
9600
9601 consumeSemicolon();
9602
9603 return markerApply(marker, delegate.createDeclareVariable(
9604 id
9605 ));
9606 }
9607
9608 function parseDeclareModule() {
9609 var body = [], bodyMarker, id, idMarker, marker = markerCreate(), token;

Callers 2

parseSourceElementFunction · 0.85
parseDeclareModuleFunction · 0.85

Calls 6

markerCreateFunction · 0.85
expectContextualKeywordFunction · 0.85
expectKeywordFunction · 0.85
consumeSemicolonFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected