MCPcopy Create free account
hub / github.com/DavidWells/analytics / resolveRight

Function resolveRight

scripts/docs/parse/index.js:249–257  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

247}
248
249function resolveRight(node) {
250 if (node.type === 'Literal') {
251 return node.raw
252 }
253 if (node.type === 'FunctionExpression') {
254 return getName(node)
255 }
256 return node.name
257}
258
259function resolveLeft(node) {
260 if (node.type === 'MemberExpression') {

Callers 1

getExportsFunction · 0.85

Calls 1

getNameFunction · 0.70

Tested by

no test coverage detected