MCPcopy Index your code
hub / github.com/microsoft/typescript-go / GetSourceFile

Method GetSourceFile

internal/compiler/program.go:1717–1717  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

1715type ProgramLike interface {
1716 Options() *core.CompilerOptions
1717 GetSourceFile(path string) *ast.SourceFile
1718 GetSourceFiles() []*ast.SourceFile
1719 GetConfigFileParsingDiagnostics() []*ast.Diagnostic
1720 GetSyntacticDiagnostics(ctx context.Context, file *ast.SourceFile) []*ast.Diagnostic

Callers 1

UpdateProgramMethod · 0.65

Implementers 2

Programinternal/compiler/program.go
Programinternal/execute/incremental/program.g

Calls

no outgoing calls

Tested by

no test coverage detected