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

Function createTextSpanFromNode

test/fixtures/snapshot/typescript.js:128037–128039  ·  view source on GitHub ↗
(node, sourceFile, endNode)

Source from the content-addressed store, hash-verified

128035 }
128036 ts.getReplacementSpanForContextToken = getReplacementSpanForContextToken;
128037 function createTextSpanFromNode(node, sourceFile, endNode) {
128038 return ts.createTextSpanFromBounds(node.getStart(sourceFile), (endNode || node).getEnd());
128039 }
128040 ts.createTextSpanFromNode = createTextSpanFromNode;
128041 function createTextSpanFromStringLiteralLikeContent(node) {
128042 if (node.isUnterminated)

Callers 4

linkNamePartFunction · 0.85
findDiagnosticForNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected