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

Function getFieldName

lib/assets/javascripts/JSXTransformer.js:5674–5680  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

5672 }
5673
5674 function getFieldName(key) {
5675 var toString = String;
5676 if (key.type === Syntax.Identifier) {
5677 return key.name;
5678 }
5679 return toString(key.value);
5680 }
5681
5682 function parseObjectInitialiser() {
5683 var properties = [], property, name, kind, storedKind, map = new StringMap(),

Callers 1

parseClassBodyFunction · 0.85

Calls 1

toStringFunction · 0.85

Tested by

no test coverage detected