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

Function parseWhileStatement

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

Source from the content-addressed store, hash-verified

7482 }
7483
7484 function parseWhileStatement() {
7485 var test, body, oldInIteration, marker = markerCreate();
7486
7487 expectKeyword('while');
7488
7489 expect('(');
7490
7491 test = parseExpression();
7492
7493 expect(')');
7494
7495 oldInIteration = state.inIteration;
7496 state.inIteration = true;
7497
7498 body = parseStatement();
7499
7500 state.inIteration = oldInIteration;
7501
7502 return markerApply(marker, delegate.createWhileStatement(test, body));
7503 }
7504
7505 function parseForVariableDeclaration() {
7506 var marker = markerCreate(),

Callers 1

parseStatementFunction · 0.85

Calls 6

markerCreateFunction · 0.85
expectKeywordFunction · 0.85
expectFunction · 0.85
parseExpressionFunction · 0.85
parseStatementFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected