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

Function getInlayHintsContext

test/fixtures/snapshot/typescript.js:166040–166049  ·  view source on GitHub ↗
(file, span, preferences)

Source from the content-addressed store, hash-verified

166038 };
166039 }
166040 function getInlayHintsContext(file, span, preferences) {
166041 return {
166042 file: file,
166043 program: getProgram(),
166044 host: host,
166045 span: span,
166046 preferences: preferences,
166047 cancellationToken: cancellationToken,
166048 };
166049 }
166050 function getSmartSelectionRange(fileName, position) {
166051 return ts.SmartSelectionRange.getSmartSelectionRange(position, syntaxTreeCache.getCurrentSourceFile(fileName));
166052 }

Callers 1

provideInlayHintsFunction · 0.85

Calls 1

getProgramFunction · 0.85

Tested by

no test coverage detected