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

Function getSourceTextOfNodeFromSourceFile

test/fixtures/snapshot/typescript.js:14757–14760  ·  view source on GitHub ↗
(sourceFile, node, includeTrivia)

Source from the content-addressed store, hash-verified

14755 }
14756 ts.getNonDecoratorTokenPosOfNode = getNonDecoratorTokenPosOfNode;
14757 function getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia) {
14758 if (includeTrivia === void 0) { includeTrivia = false; }
14759 return getTextOfNodeFromSourceText(sourceFile.text, node, includeTrivia);
14760 }
14761 ts.getSourceTextOfNodeFromSourceFile = getSourceTextOfNodeFromSourceFile;
14762 function isJSDocTypeExpressionOrChild(node) {
14763 return !!ts.findAncestor(node, ts.isJSDocTypeExpression);

Callers 3

getTextOfNodeFunction · 0.85
getLiteralTextFunction · 0.85
isStringDoubleQuotedFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…