MCPcopy Create free account
hub / github.com/reactjs/react-rails / initScopeMetadata

Function initScopeMetadata

lib/assets/javascripts/JSXTransformer.js:13055–13061  ·  view source on GitHub ↗

* @param {object} boundaryNode * @param {?array} path * @return {?object} node

(boundaryNode, path, node)

Source from the content-addressed store, hash-verified

13053 * @return {?object} node
13054 */
13055function initScopeMetadata(boundaryNode, path, node) {
13056 return {
13057 boundaryNode: boundaryNode,
13058 bindingPath: path,
13059 bindingNode: node
13060 };
13061}
13062
13063function declareIdentInLocalScope(identName, metaData, state) {
13064 state.localScope.identifiers[identName] = {

Callers 3

traverseFunction · 0.85
_renderClassBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected