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

Function parseJSXSpreadAttribute

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

Source from the content-addressed store, hash-verified

9321 }
9322
9323 function parseJSXSpreadAttribute() {
9324 var expression, origInJSXChild, origInJSXTag, marker = markerCreate();
9325
9326 origInJSXChild = state.inJSXChild;
9327 origInJSXTag = state.inJSXTag;
9328 state.inJSXChild = false;
9329 state.inJSXTag = false;
9330
9331 expect('{');
9332 expect('...');
9333
9334 expression = parseAssignmentExpression();
9335
9336 state.inJSXChild = origInJSXChild;
9337 state.inJSXTag = origInJSXTag;
9338
9339 expect('}');
9340
9341 return markerApply(marker, delegate.createJSXSpreadAttribute(expression));
9342 }
9343
9344 function parseJSXAttribute() {
9345 var name, marker;

Callers 1

parseJSXAttributeFunction · 0.85

Calls 4

markerCreateFunction · 0.85
expectFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected