MCPcopy
hub / github.com/codesandbox/codesandbox-client / toKind

Function toKind

packages/app/static/js/babel.6.26.js:23065–23073  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

23063 }
23064
23065 function toKind(node) {
23066 if (t.isClassMethod(node) || t.isObjectMethod(node)) {
23067 if (node.kind === "get" || node.kind === "set") {
23068 return node.kind;
23069 }
23070 }
23071
23072 return "value";
23073 }
23074
23075 function push(mutatorMap, node, kind, file, scope) {
23076 var alias = t.toKeyAlias(node);

Callers 1

pushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected