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

Function linkNamePart

test/fixtures/snapshot/typescript.js:128543–128552  ·  view source on GitHub ↗
(text, target)

Source from the content-addressed store, hash-verified

128541 }
128542 ts.linkTextPart = linkTextPart;
128543 function linkNamePart(text, target) {
128544 return {
128545 text: text,
128546 kind: ts.SymbolDisplayPartKind[ts.SymbolDisplayPartKind.linkName],
128547 target: {
128548 fileName: ts.getSourceFileOfNode(target).fileName,
128549 textSpan: createTextSpanFromNode(target),
128550 },
128551 };
128552 }
128553 ts.linkNamePart = linkNamePart;
128554 function linkPart(text) {
128555 return displayPart(text, ts.SymbolDisplayPartKind.link);

Callers 1

buildLinkPartsFunction · 0.85

Calls 1

createTextSpanFromNodeFunction · 0.85

Tested by

no test coverage detected