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

Function parseTemplateElement

lib/assets/javascripts/JSXTransformer.js:5734–5741  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

5732 }
5733
5734 function parseTemplateElement(option) {
5735 var marker = markerCreate(),
5736 token = scanTemplateElement(option);
5737 if (strict && token.octal) {
5738 throwError(token, Messages.StrictOctalLiteral);
5739 }
5740 return markerApply(marker, delegate.createTemplateElement({ raw: token.value.raw, cooked: token.value.cooked }, token.tail));
5741 }
5742
5743 function parseTemplateLiteral() {
5744 var quasi, quasis, expressions, marker = markerCreate();

Callers 1

parseTemplateLiteralFunction · 0.85

Calls 4

markerCreateFunction · 0.85
scanTemplateElementFunction · 0.85
throwErrorFunction · 0.85
markerApplyFunction · 0.85

Tested by

no test coverage detected