Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ Diagnostics
Method
Diagnostics
internal/ast/ast.go:2580–2582 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2578
}
2579
2580
func
(node *SourceFile) Diagnostics() []*Diagnostic {
2581
return
node.diagnostics
2582
}
2583
2584
func
(node *SourceFile) SetDiagnostics(diags []*Diagnostic) {
2585
node.diagnostics = diags
Callers
13
GetSyntacticDiagnostics
Method · 0.80
checkBinaryLikeExpression
Method · 0.80
hasParseDiagnostics
Method · 0.80
TestParseSrcCompiler
Function · 0.80
GetConfigFileParsingDiagnostics
Method · 0.80
ParseConfigFileTextToJson
Function · 0.80
ParseExtendedConfig
Function · 0.80
DoJSEmitBaseline
Function · 0.80
CheckDiagnostics
Function · 0.80
CheckDiagnosticsMessage
Function · 0.80
checkContextualIdentifier
Method · 0.80
checkPrivateIdentifier
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestParseSrcCompiler
Function · 0.64