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

Function parseWithStatement

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

Source from the content-addressed store, hash-verified

7726 // 12.10 The with statement
7727
7728 function parseWithStatement() {
7729 var object, body, marker = markerCreate();
7730
7731 if (strict) {
7732 throwErrorTolerant({}, Messages.StrictModeWith);
7733 }
7734
7735 expectKeyword('with');
7736
7737 expect('(');
7738
7739 object = parseExpression();
7740
7741 expect(')');
7742
7743 body = parseStatement();
7744
7745 return markerApply(marker, delegate.createWithStatement(object, body));
7746 }
7747
7748 // 12.10 The swith statement
7749

Callers 1

parseStatementFunction · 0.85

Calls 7

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

Tested by

no test coverage detected