MCPcopy Create free account
hub / github.com/nodejs/node / getPossibleSymbolReferenceNodes

Function getPossibleSymbolReferenceNodes

test/fixtures/snapshot/typescript.js:138051–138054  ·  view source on GitHub ↗
(sourceFile, symbolName, container)

Source from the content-addressed store, hash-verified

138049 }
138050 Core.someSignatureUsage = someSignatureUsage;
138051 function getPossibleSymbolReferenceNodes(sourceFile, symbolName, container) {
138052 if (container === void 0) { container = sourceFile; }
138053 return getPossibleSymbolReferencePositions(sourceFile, symbolName, container).map(function (pos) { return ts.getTouchingPropertyName(sourceFile, pos); });
138054 }
138055 function getPossibleSymbolReferencePositions(sourceFile, symbolName, container) {
138056 if (container === void 0) { container = sourceFile; }
138057 var positions = [];

Calls 2

mapMethod · 0.65

Tested by

no test coverage detected