MCPcopy Index your code
hub / github.com/angular/angular / getSyntacticDiagnostics

Function getSyntacticDiagnostics

packages/language-service/src/ts_plugin.ts:48–56  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

46 }
47
48 function getSyntacticDiagnostics(fileName: string): ts.DiagnosticWithLocation[] {
49 if (!angularOnly && isTypeScriptFile(fileName)) {
50 return tsLS.getSyntacticDiagnostics(fileName);
51 }
52
53 // Template files do not currently produce separate syntactic diagnostics and
54 // are instead produced during the semantic diagnostic analysis.
55 return [];
56 }
57
58 function getSuggestionDiagnostics(fileName: string): ts.DiagnosticWithLocation[] {
59 const diagnostics: ts.DiagnosticWithLocation[] = [];

Callers

nothing calls this directly

Calls 1

isTypeScriptFileFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…