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

Function nodeEntry

test/fixtures/snapshot/typescript.js:136830–136837  ·  view source on GitHub ↗
(node, kind)

Source from the content-addressed store, hash-verified

136828 EntryKind[EntryKind["SearchedPropertyFoundLocal"] = 4] = "SearchedPropertyFoundLocal";
136829 })(EntryKind = FindAllReferences.EntryKind || (FindAllReferences.EntryKind = {}));
136830 function nodeEntry(node, kind) {
136831 if (kind === void 0) { kind = 1 /* EntryKind.Node */; }
136832 return {
136833 kind: kind,
136834 node: node.name || node,
136835 context: getContextNodeForNodeEntry(node)
136836 };
136837 }
136838 FindAllReferences.nodeEntry = nodeEntry;
136839 function isContextWithStartAndEndNode(node) {
136840 return node && node.kind === undefined;

Calls 1

Tested by

no test coverage detected