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

Struct parseTask

internal/compiler/filesparser.go:19–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type parseTask struct {
20 normalizedFilePath string
21 path tspath.Path
22 file *ast.SourceFile
23 libFile *LibFile
24 redirectedParseTask *parseTask
25 subTasks []*parseTask
26 loaded bool
27 startedSubTasks bool
28 isForAutomaticTypeDirective bool
29 includeReason *FileIncludeReason
30 packageId module.PackageId
31
32 metadata ast.SourceFileMetaData
33 resolutionsInFile module.ModeAwareCache[*module.ResolvedModule]
34 resolutionsTrace []module.DiagAndArgs
35 typeResolutionsInFile module.ModeAwareCache[*module.ResolvedTypeReferenceDirective]
36 typeResolutionsTrace []module.DiagAndArgs
37 resolutionDiagnostics []*ast.Diagnostic
38 processingDiagnostics []*processingDiagnostic
39 importHelpersImportSpecifier *ast.StringLiteralNode
40 jsxRuntimeImportSpecifier *jsxRuntimeImportSpecifier
41
42 increaseDepth bool
43 elideOnDepth bool
44
45 loadedTask *parseTask
46 allIncludeReasons []*FileIncludeReason
47}
48
49func (t *parseTask) FileName() string {
50 return t.normalizedFilePath

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected