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

Function getSemanticDiagnosticsForFile

test/fixtures/snapshot/typescript.js:117615–117617  ·  view source on GitHub ↗
(sourceFile, cancellationToken)

Source from the content-addressed store, hash-verified

117613 }
117614 }
117615 function getSemanticDiagnosticsForFile(sourceFile, cancellationToken) {
117616 return ts.concatenate(filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken), options), getProgramDiagnostics(sourceFile));
117617 }
117618 function getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken) {
117619 return getAndCacheDiagnostics(sourceFile, cancellationToken, cachedBindAndCheckDiagnosticsForFile, getBindAndCheckDiagnosticsForFileNoCache);
117620 }

Callers

nothing calls this directly

Calls 3

getProgramDiagnosticsFunction · 0.85

Tested by

no test coverage detected