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

Function getTextSpanOfEntry

test/fixtures/snapshot/typescript.js:137253–137256  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

137251 return ts.createTextSpanFromBounds(start, end);
137252 }
137253 function getTextSpanOfEntry(entry) {
137254 return entry.kind === 0 /* EntryKind.Span */ ? entry.textSpan :
137255 getTextSpan(entry.node, entry.node.getSourceFile());
137256 }
137257 FindAllReferences.getTextSpanOfEntry = getTextSpanOfEntry;
137258 /** A node is considered a writeAccess iff it is a name of a declaration or a target of an assignment */
137259 function isWriteAccessForReference(node) {

Callers 1

_loop_5Function · 0.85

Calls 1

getTextSpanFunction · 0.85

Tested by

no test coverage detected