MCPcopy Index your code
hub / github.com/nodejs/node / getEnumMemberValue

Function getEnumMemberValue

test/fixtures/snapshot/typescript.js:87034–87037  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

87032 return ((_a = nodeLinks[nodeId]) === null || _a === void 0 ? void 0 : _a.flags) || 0;
87033 }
87034 function getEnumMemberValue(node) {
87035 computeEnumMemberValues(node.parent);
87036 return getNodeLinks(node).enumMemberValue;
87037 }
87038 function canHaveConstantValue(node) {
87039 switch (node.kind) {
87040 case 299 /* SyntaxKind.EnumMember */:

Callers 3

getDeclaredTypeOfEnumFunction · 0.85
evaluateEnumMemberFunction · 0.85
getConstantValueFunction · 0.85

Calls 2

computeEnumMemberValuesFunction · 0.85
getNodeLinksFunction · 0.85

Tested by

no test coverage detected