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

Function toKind

test/babel.js:23202–23210  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

23200 }
23201
23202 function toKind(node) {
23203 if (t.isClassMethod(node) || t.isObjectMethod(node)) {
23204 if (node.kind === "get" || node.kind === "set") {
23205 return node.kind;
23206 }
23207 }
23208
23209 return "value";
23210 }
23211
23212 function push(mutatorMap, node, kind, file, scope) {
23213 var alias = t.toKeyAlias(node);

Callers 1

pushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected