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

Function parseStatementList

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

Source from the content-addressed store, hash-verified

6561 // 12.1 Block
6562
6563 function parseStatementList() {
6564 var list = [],
6565 statement;
6566
6567 while (index < length) {
6568 if (match('}')) {
6569 break;
6570 }
6571 statement = parseSourceElement();
6572 if (typeof statement === 'undefined') {
6573 break;
6574 }
6575 list.push(statement);
6576 }
6577
6578 return list;
6579 }
6580
6581 function parseBlock() {
6582 var block, marker = markerCreate();

Callers 1

parseBlockFunction · 0.85

Calls 2

matchFunction · 0.85
parseSourceElementFunction · 0.85

Tested by

no test coverage detected