MCPcopy Create free account
hub / github.com/RubyLouvre/anu / getValue

Function getValue

test/babel.js:7566–7572  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

7564 var buildMutatorMapAssign = template("\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n ");
7565
7566 function getValue(prop) {
7567 if (t.isObjectProperty(prop)) {
7568 return prop.value;
7569 } else if (t.isObjectMethod(prop)) {
7570 return t.functionExpression(null, prop.params, prop.body, prop.generator, prop.async);
7571 }
7572 }
7573
7574 function pushAssign(objId, prop, body) {
7575 if (prop.kind === "get" && prop.kind === "set") {

Callers 4

getNativeFunction · 0.85
pushAssignFunction · 0.85
pushMutatorDefineFunction · 0.85
specFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected