typia 13.0.0-dev.20260507 → 13.0.0-dev.20260510

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/lib/executable/TypiaGenerateWizard.js +54 -45
  2. package/lib/executable/TypiaGenerateWizard.js.map +1 -1
  3. package/lib/executable/TypiaGenerateWizard2.mjs +64 -55
  4. package/lib/executable/TypiaGenerateWizard2.mjs.map +1 -1
  5. package/lib/executable/typia.d.ts +1 -1
  6. package/lib/executable/typia.js +1 -14
  7. package/lib/executable/typia.js.map +1 -1
  8. package/lib/executable/typia2.mjs +1 -16
  9. package/lib/executable/typia2.mjs.map +1 -1
  10. package/native/adapter/adapter.go +3 -3
  11. package/native/go.mod +0 -4
  12. package/native/internal/printer/printer.go +229 -0
  13. package/package.json +11 -8
  14. package/src/executable/TypiaGenerateWizard.ts +25 -23
  15. package/src/executable/typia.ts +1 -13
  16. package/lib/_virtual/ArgumentParser.mjs +0 -4
  17. package/lib/_virtual/ArgumentParser.mjs.map +0 -1
  18. package/lib/_virtual/CommandExecutor.mjs +0 -4
  19. package/lib/_virtual/CommandExecutor.mjs.map +0 -1
  20. package/lib/_virtual/FileRetriever.mjs +0 -4
  21. package/lib/_virtual/FileRetriever.mjs.map +0 -1
  22. package/lib/_virtual/PackageManager.mjs +0 -4
  23. package/lib/_virtual/PackageManager.mjs.map +0 -1
  24. package/lib/_virtual/PluginConfigurator.mjs +0 -4
  25. package/lib/_virtual/PluginConfigurator.mjs.map +0 -1
  26. package/lib/_virtual/TypiaSetupWizard.mjs +0 -4
  27. package/lib/_virtual/TypiaSetupWizard.mjs.map +0 -1
  28. package/lib/executable/TypiaSetupWizard.d.ts +0 -7
  29. package/lib/executable/TypiaSetupWizard.js +0 -133
  30. package/lib/executable/TypiaSetupWizard.js.map +0 -1
  31. package/lib/executable/TypiaSetupWizard.mjs +0 -3
  32. package/lib/executable/TypiaSetupWizard.mjs.map +0 -1
  33. package/lib/executable/TypiaSetupWizard2.mjs +0 -144
  34. package/lib/executable/TypiaSetupWizard2.mjs.map +0 -1
  35. package/lib/executable/setup/ArgumentParser.d.ts +0 -7
  36. package/lib/executable/setup/ArgumentParser.js +0 -36
  37. package/lib/executable/setup/ArgumentParser.js.map +0 -1
  38. package/lib/executable/setup/ArgumentParser.mjs +0 -3
  39. package/lib/executable/setup/ArgumentParser.mjs.map +0 -1
  40. package/lib/executable/setup/ArgumentParser2.mjs +0 -41
  41. package/lib/executable/setup/ArgumentParser2.mjs.map +0 -1
  42. package/lib/executable/setup/CommandExecutor.d.ts +0 -3
  43. package/lib/executable/setup/CommandExecutor.js +0 -15
  44. package/lib/executable/setup/CommandExecutor.js.map +0 -1
  45. package/lib/executable/setup/CommandExecutor.mjs +0 -3
  46. package/lib/executable/setup/CommandExecutor.mjs.map +0 -1
  47. package/lib/executable/setup/CommandExecutor2.mjs +0 -19
  48. package/lib/executable/setup/CommandExecutor2.mjs.map +0 -1
  49. package/lib/executable/setup/FileRetriever.d.ts +0 -7
  50. package/lib/executable/setup/FileRetriever.js +0 -25
  51. package/lib/executable/setup/FileRetriever.js.map +0 -1
  52. package/lib/executable/setup/FileRetriever.mjs +0 -3
  53. package/lib/executable/setup/FileRetriever.mjs.map +0 -1
  54. package/lib/executable/setup/FileRetriever2.mjs +0 -30
  55. package/lib/executable/setup/FileRetriever2.mjs.map +0 -1
  56. package/lib/executable/setup/PackageManager.d.ts +0 -24
  57. package/lib/executable/setup/PackageManager.js +0 -79
  58. package/lib/executable/setup/PackageManager.js.map +0 -1
  59. package/lib/executable/setup/PackageManager.mjs +0 -3
  60. package/lib/executable/setup/PackageManager.mjs.map +0 -1
  61. package/lib/executable/setup/PackageManager2.mjs +0 -88
  62. package/lib/executable/setup/PackageManager2.mjs.map +0 -1
  63. package/lib/executable/setup/PluginConfigurator.d.ts +0 -4
  64. package/lib/executable/setup/PluginConfigurator.js +0 -60
  65. package/lib/executable/setup/PluginConfigurator.js.map +0 -1
  66. package/lib/executable/setup/PluginConfigurator.mjs +0 -3
  67. package/lib/executable/setup/PluginConfigurator.mjs.map +0 -1
  68. package/lib/executable/setup/PluginConfigurator2.mjs +0 -65
  69. package/lib/executable/setup/PluginConfigurator2.mjs.map +0 -1
  70. package/native/go.work +0 -20
  71. package/native/go.work.sum +0 -11
  72. package/native/shim/printer/go.mod +0 -5
  73. package/native/shim/printer/shim.go +0 -249
  74. package/native/third_party/ttsc/driver/host.go +0 -31
  75. package/native/third_party/ttsc/driver/program.go +0 -466
  76. package/native/third_party/ttsc/driver/rewrite.go +0 -341
  77. package/native/third_party/ttsc/go.mod +0 -48
  78. package/native/third_party/ttsc/go.sum +0 -22
  79. package/native/third_party/ttsc/shim/ast/extra-shim.json +0 -4
  80. package/native/third_party/ttsc/shim/ast/go.mod +0 -5
  81. package/native/third_party/ttsc/shim/ast/lint.go +0 -331
  82. package/native/third_party/ttsc/shim/ast/shim.go +0 -210
  83. package/native/third_party/ttsc/shim/bundled/extra-shim.json +0 -1
  84. package/native/third_party/ttsc/shim/bundled/go.mod +0 -5
  85. package/native/third_party/ttsc/shim/bundled/shim.go +0 -23
  86. package/native/third_party/ttsc/shim/checker/extra-shim.json +0 -31
  87. package/native/third_party/ttsc/shim/checker/go.mod +0 -5
  88. package/native/third_party/ttsc/shim/checker/shim.go +0 -166
  89. package/native/third_party/ttsc/shim/compiler/extra-shim.json +0 -4
  90. package/native/third_party/ttsc/shim/compiler/go.mod +0 -5
  91. package/native/third_party/ttsc/shim/compiler/shim.go +0 -65
  92. package/native/third_party/ttsc/shim/core/extra-shim.json +0 -4
  93. package/native/third_party/ttsc/shim/core/go.mod +0 -5
  94. package/native/third_party/ttsc/shim/core/shim.go +0 -29
  95. package/native/third_party/ttsc/shim/diagnosticwriter/go.mod +0 -5
  96. package/native/third_party/ttsc/shim/diagnosticwriter/lint.go +0 -137
  97. package/native/third_party/ttsc/shim/diagnosticwriter/shim.go +0 -29
  98. package/native/third_party/ttsc/shim/parser/extra-shim.json +0 -4
  99. package/native/third_party/ttsc/shim/parser/go.mod +0 -5
  100. package/native/third_party/ttsc/shim/parser/shim.go +0 -61
  101. package/native/third_party/ttsc/shim/scanner/extra-shim.json +0 -4
  102. package/native/third_party/ttsc/shim/scanner/go.mod +0 -5
  103. package/native/third_party/ttsc/shim/scanner/shim.go +0 -134
  104. package/native/third_party/ttsc/shim/tsoptions/extra-shim.json +0 -4
  105. package/native/third_party/ttsc/shim/tsoptions/go.mod +0 -5
  106. package/native/third_party/ttsc/shim/tsoptions/shim.go +0 -173
  107. package/native/third_party/ttsc/shim/tspath/extra-shim.json +0 -4
  108. package/native/third_party/ttsc/shim/tspath/go.mod +0 -5
  109. package/native/third_party/ttsc/shim/tspath/shim.go +0 -236
  110. package/native/third_party/ttsc/shim/vfs/cachedvfs/extra-shim.json +0 -4
  111. package/native/third_party/ttsc/shim/vfs/cachedvfs/go.mod +0 -5
  112. package/native/third_party/ttsc/shim/vfs/cachedvfs/shim.go +0 -12
  113. package/native/third_party/ttsc/shim/vfs/extra-shim.json +0 -4
  114. package/native/third_party/ttsc/shim/vfs/go.mod +0 -5
  115. package/native/third_party/ttsc/shim/vfs/osvfs/extra-shim.json +0 -4
  116. package/native/third_party/ttsc/shim/vfs/osvfs/go.mod +0 -5
  117. package/native/third_party/ttsc/shim/vfs/osvfs/shim.go +0 -13
  118. package/native/third_party/ttsc/shim/vfs/shim.go +0 -22
  119. package/src/executable/TypiaSetupWizard.ts +0 -167
  120. package/src/executable/setup/ArgumentParser.ts +0 -42
  121. package/src/executable/setup/CommandExecutor.ts +0 -8
  122. package/src/executable/setup/FileRetriever.ts +0 -19
  123. package/src/executable/setup/PackageManager.ts +0 -87
  124. package/src/executable/setup/PluginConfigurator.ts +0 -65
@@ -1,134 +0,0 @@
1
- // Code generated by packages/ttsc/tools/gen_shims. DO NOT EDIT.
2
-
3
- package scanner
4
-
5
- import "github.com/microsoft/typescript-go/internal/ast"
6
- import "github.com/microsoft/typescript-go/internal/core"
7
- import "github.com/microsoft/typescript-go/internal/scanner"
8
- import "iter"
9
- import _ "unsafe"
10
-
11
- //go:linkname ComputeLineOfPosition github.com/microsoft/typescript-go/internal/scanner.ComputeLineOfPosition
12
- func ComputeLineOfPosition(lineStarts []core.TextPos, pos int) int
13
-
14
- //go:linkname ComputePositionOfLineAndByteOffset github.com/microsoft/typescript-go/internal/scanner.ComputePositionOfLineAndByteOffset
15
- func ComputePositionOfLineAndByteOffset(lineStarts []core.TextPos, line int, byteOffset int) int
16
-
17
- //go:linkname ComputePositionOfLineAndUTF16Character github.com/microsoft/typescript-go/internal/scanner.ComputePositionOfLineAndUTF16Character
18
- func ComputePositionOfLineAndUTF16Character(lineStarts []core.TextPos, line int, character core.UTF16Offset, text string, allowEdits bool) int
19
-
20
- //go:linkname DeclarationNameToString github.com/microsoft/typescript-go/internal/scanner.DeclarationNameToString
21
- func DeclarationNameToString(name *ast.Node) string
22
-
23
- type ErrorCallback = scanner.ErrorCallback
24
- type EscapeSequenceScanningFlags = scanner.EscapeSequenceScanningFlags
25
-
26
- const EscapeSequenceScanningFlagsAllowExtendedUnicodeEscape = scanner.EscapeSequenceScanningFlagsAllowExtendedUnicodeEscape
27
- const EscapeSequenceScanningFlagsAnnexB = scanner.EscapeSequenceScanningFlagsAnnexB
28
- const EscapeSequenceScanningFlagsAnyUnicodeMode = scanner.EscapeSequenceScanningFlagsAnyUnicodeMode
29
- const EscapeSequenceScanningFlagsAtomEscape = scanner.EscapeSequenceScanningFlagsAtomEscape
30
- const EscapeSequenceScanningFlagsRegularExpression = scanner.EscapeSequenceScanningFlagsRegularExpression
31
- const EscapeSequenceScanningFlagsReportErrors = scanner.EscapeSequenceScanningFlagsReportErrors
32
- const EscapeSequenceScanningFlagsReportInvalidEscapeErrors = scanner.EscapeSequenceScanningFlagsReportInvalidEscapeErrors
33
- const EscapeSequenceScanningFlagsString = scanner.EscapeSequenceScanningFlagsString
34
-
35
- //go:linkname GetECMAEndLinePosition github.com/microsoft/typescript-go/internal/scanner.GetECMAEndLinePosition
36
- func GetECMAEndLinePosition(sourceFile *ast.SourceFile, line int) int
37
-
38
- //go:linkname GetECMALineAndByteOffsetOfPosition github.com/microsoft/typescript-go/internal/scanner.GetECMALineAndByteOffsetOfPosition
39
- func GetECMALineAndByteOffsetOfPosition(sourceFile ast.SourceFileLike, pos int) (line int, byteOffset int)
40
-
41
- //go:linkname GetECMALineAndUTF16CharacterOfPosition github.com/microsoft/typescript-go/internal/scanner.GetECMALineAndUTF16CharacterOfPosition
42
- func GetECMALineAndUTF16CharacterOfPosition(sourceFile ast.SourceFileLike, pos int) (line int, character core.UTF16Offset)
43
-
44
- //go:linkname GetECMALineOfPosition github.com/microsoft/typescript-go/internal/scanner.GetECMALineOfPosition
45
- func GetECMALineOfPosition(sourceFile ast.SourceFileLike, pos int) int
46
-
47
- //go:linkname GetECMALineStarts github.com/microsoft/typescript-go/internal/scanner.GetECMALineStarts
48
- func GetECMALineStarts(sourceFile ast.SourceFileLike) []core.TextPos
49
-
50
- //go:linkname GetECMAPositionOfLineAndByteOffset github.com/microsoft/typescript-go/internal/scanner.GetECMAPositionOfLineAndByteOffset
51
- func GetECMAPositionOfLineAndByteOffset(sourceFile ast.SourceFileLike, line int, byteOffset int) int
52
-
53
- //go:linkname GetECMAPositionOfLineAndUTF16Character github.com/microsoft/typescript-go/internal/scanner.GetECMAPositionOfLineAndUTF16Character
54
- func GetECMAPositionOfLineAndUTF16Character(sourceFile ast.SourceFileLike, line int, character core.UTF16Offset) int
55
-
56
- //go:linkname GetErrorRangeForNode github.com/microsoft/typescript-go/internal/scanner.GetErrorRangeForNode
57
- func GetErrorRangeForNode(sourceFile *ast.SourceFile, node *ast.Node) core.TextRange
58
-
59
- //go:linkname GetIdentifierToken github.com/microsoft/typescript-go/internal/scanner.GetIdentifierToken
60
- func GetIdentifierToken(str string) ast.Kind
61
-
62
- //go:linkname GetLeadingCommentRanges github.com/microsoft/typescript-go/internal/scanner.GetLeadingCommentRanges
63
- func GetLeadingCommentRanges(f *ast.NodeFactory, text string, pos int) iter.Seq[ast.CommentRange]
64
-
65
- //go:linkname GetRangeOfTokenAtPosition github.com/microsoft/typescript-go/internal/scanner.GetRangeOfTokenAtPosition
66
- func GetRangeOfTokenAtPosition(sourceFile *ast.SourceFile, pos int) core.TextRange
67
-
68
- //go:linkname GetScannerForSourceFile github.com/microsoft/typescript-go/internal/scanner.GetScannerForSourceFile
69
- func GetScannerForSourceFile(sourceFile *ast.SourceFile, pos int) *scanner.Scanner
70
-
71
- //go:linkname GetShebang github.com/microsoft/typescript-go/internal/scanner.GetShebang
72
- func GetShebang(text string) string
73
-
74
- //go:linkname GetSourceTextOfNodeFromSourceFile github.com/microsoft/typescript-go/internal/scanner.GetSourceTextOfNodeFromSourceFile
75
- func GetSourceTextOfNodeFromSourceFile(sourceFile *ast.SourceFile, node *ast.Node, includeTrivia bool) string
76
-
77
- //go:linkname GetTextOfNode github.com/microsoft/typescript-go/internal/scanner.GetTextOfNode
78
- func GetTextOfNode(node *ast.Node) string
79
-
80
- //go:linkname GetTextOfNodeFromSourceText github.com/microsoft/typescript-go/internal/scanner.GetTextOfNodeFromSourceText
81
- func GetTextOfNodeFromSourceText(sourceText string, node *ast.Node, includeTrivia bool) string
82
-
83
- //go:linkname GetTokenPosOfNode github.com/microsoft/typescript-go/internal/scanner.GetTokenPosOfNode
84
- func GetTokenPosOfNode(node *ast.Node, sourceFile *ast.SourceFile, includeJSDoc bool) int
85
-
86
- //go:linkname GetTrailingCommentRanges github.com/microsoft/typescript-go/internal/scanner.GetTrailingCommentRanges
87
- func GetTrailingCommentRanges(f *ast.NodeFactory, text string, pos int) iter.Seq[ast.CommentRange]
88
-
89
- //go:linkname GetViableKeywordSuggestions github.com/microsoft/typescript-go/internal/scanner.GetViableKeywordSuggestions
90
- func GetViableKeywordSuggestions() []string
91
-
92
- //go:linkname IdentifierToKeywordKind github.com/microsoft/typescript-go/internal/scanner.IdentifierToKeywordKind
93
- func IdentifierToKeywordKind(node *ast.Identifier) ast.Kind
94
-
95
- //go:linkname IsIdentifierPart github.com/microsoft/typescript-go/internal/scanner.IsIdentifierPart
96
- func IsIdentifierPart(ch rune) bool
97
-
98
- //go:linkname IsIdentifierPartEx github.com/microsoft/typescript-go/internal/scanner.IsIdentifierPartEx
99
- func IsIdentifierPartEx(ch rune, languageVariant core.LanguageVariant) bool
100
-
101
- //go:linkname IsIdentifierStart github.com/microsoft/typescript-go/internal/scanner.IsIdentifierStart
102
- func IsIdentifierStart(ch rune) bool
103
-
104
- //go:linkname IsIdentifierText github.com/microsoft/typescript-go/internal/scanner.IsIdentifierText
105
- func IsIdentifierText(name string, languageVariant core.LanguageVariant) bool
106
-
107
- //go:linkname IsIntrinsicJsxName github.com/microsoft/typescript-go/internal/scanner.IsIntrinsicJsxName
108
- func IsIntrinsicJsxName(name string) bool
109
-
110
- //go:linkname IsValidIdentifier github.com/microsoft/typescript-go/internal/scanner.IsValidIdentifier
111
- func IsValidIdentifier(s string) bool
112
-
113
- //go:linkname NewScanner github.com/microsoft/typescript-go/internal/scanner.NewScanner
114
- func NewScanner() *scanner.Scanner
115
-
116
- //go:linkname ScanTokenAtPosition github.com/microsoft/typescript-go/internal/scanner.ScanTokenAtPosition
117
- func ScanTokenAtPosition(sourceFile *ast.SourceFile, pos int) ast.Kind
118
-
119
- type Scanner = scanner.Scanner
120
- type ScannerState = scanner.ScannerState
121
-
122
- //go:linkname SkipTrivia github.com/microsoft/typescript-go/internal/scanner.SkipTrivia
123
- func SkipTrivia(text string, pos int) int
124
-
125
- //go:linkname SkipTriviaEx github.com/microsoft/typescript-go/internal/scanner.SkipTriviaEx
126
- func SkipTriviaEx(text string, pos int, options *scanner.SkipTriviaOptions) int
127
-
128
- type SkipTriviaOptions = scanner.SkipTriviaOptions
129
-
130
- //go:linkname StringToToken github.com/microsoft/typescript-go/internal/scanner.StringToToken
131
- func StringToToken(s string) ast.Kind
132
-
133
- //go:linkname TokenToString github.com/microsoft/typescript-go/internal/scanner.TokenToString
134
- func TokenToString(token ast.Kind) string
@@ -1,4 +0,0 @@
1
- {
2
- "ExtraMethods": {},
3
- "ExtraFields": {}
4
- }
@@ -1,5 +0,0 @@
1
- module github.com/microsoft/typescript-go/shim/tsoptions
2
-
3
- go 1.26
4
-
5
- require github.com/microsoft/typescript-go v0.0.0-20260429010842-56ab4af42157
@@ -1,173 +0,0 @@
1
- // Code generated by packages/ttsc/tools/gen_shims. DO NOT EDIT.
2
-
3
- package tsoptions
4
-
5
- import "github.com/microsoft/typescript-go/internal/ast"
6
- import "github.com/microsoft/typescript-go/internal/collections"
7
- import "github.com/microsoft/typescript-go/internal/core"
8
- import "github.com/microsoft/typescript-go/internal/diagnostics"
9
- import "github.com/microsoft/typescript-go/internal/tsoptions"
10
- import "github.com/microsoft/typescript-go/internal/tspath"
11
- import "reflect"
12
- import _ "unsafe"
13
-
14
- type AlternateModeDiagnostics = tsoptions.AlternateModeDiagnostics
15
-
16
- var BuildNameMap = tsoptions.BuildNameMap
17
- var BuildOpts = tsoptions.BuildOpts
18
- var CommandLineCompilerOptionsMap = tsoptions.CommandLineCompilerOptionsMap
19
-
20
- type CommandLineOption = tsoptions.CommandLineOption
21
- type CommandLineOptionKind = tsoptions.CommandLineOptionKind
22
- type CommandLineOptionNameMap = tsoptions.CommandLineOptionNameMap
23
-
24
- const CommandLineOptionTypeBoolean = tsoptions.CommandLineOptionTypeBoolean
25
- const CommandLineOptionTypeEnum = tsoptions.CommandLineOptionTypeEnum
26
- const CommandLineOptionTypeList = tsoptions.CommandLineOptionTypeList
27
- const CommandLineOptionTypeListOrElement = tsoptions.CommandLineOptionTypeListOrElement
28
- const CommandLineOptionTypeNumber = tsoptions.CommandLineOptionTypeNumber
29
- const CommandLineOptionTypeObject = tsoptions.CommandLineOptionTypeObject
30
- const CommandLineOptionTypeString = tsoptions.CommandLineOptionTypeString
31
-
32
- var CompilerNameMap = tsoptions.CompilerNameMap
33
-
34
- //go:linkname CompilerOptionsAffectDeclarationPath github.com/microsoft/typescript-go/internal/tsoptions.CompilerOptionsAffectDeclarationPath
35
- func CompilerOptionsAffectDeclarationPath(oldOptions *core.CompilerOptions, newOptions *core.CompilerOptions) bool
36
-
37
- //go:linkname CompilerOptionsAffectEmit github.com/microsoft/typescript-go/internal/tsoptions.CompilerOptionsAffectEmit
38
- func CompilerOptionsAffectEmit(oldOptions *core.CompilerOptions, newOptions *core.CompilerOptions) bool
39
-
40
- //go:linkname CompilerOptionsAffectSemanticDiagnostics github.com/microsoft/typescript-go/internal/tsoptions.CompilerOptionsAffectSemanticDiagnostics
41
- func CompilerOptionsAffectSemanticDiagnostics(oldOptions *core.CompilerOptions, newOptions *core.CompilerOptions) bool
42
-
43
- var CompilerOptionsDidYouMeanDiagnostics = tsoptions.CompilerOptionsDidYouMeanDiagnostics
44
-
45
- type CompilerOptionsValue = tsoptions.CompilerOptionsValue
46
-
47
- //go:linkname ConvertOptionToAbsolutePath github.com/microsoft/typescript-go/internal/tsoptions.ConvertOptionToAbsolutePath
48
- func ConvertOptionToAbsolutePath(o string, v any, optionMap tsoptions.CommandLineOptionNameMap, cwd string) (any, bool)
49
-
50
- //go:linkname ConvertToTSConfig github.com/microsoft/typescript-go/internal/tsoptions.ConvertToTSConfig
51
- func ConvertToTSConfig(configParseResult *tsoptions.ParsedCommandLine, configFileName string) *tsoptions.TSConfig
52
-
53
- //go:linkname CreateDiagnosticAtReferenceSyntax github.com/microsoft/typescript-go/internal/tsoptions.CreateDiagnosticAtReferenceSyntax
54
- func CreateDiagnosticAtReferenceSyntax(config *tsoptions.ParsedCommandLine, index int, message *diagnostics.Message, args ...any) *ast.Diagnostic
55
-
56
- //go:linkname CreateDiagnosticForNodeInSourceFile github.com/microsoft/typescript-go/internal/tsoptions.CreateDiagnosticForNodeInSourceFile
57
- func CreateDiagnosticForNodeInSourceFile(sourceFile *ast.SourceFile, node *ast.Node, message *diagnostics.Message, args ...any) *ast.Diagnostic
58
-
59
- //go:linkname CreateDiagnosticForNodeInSourceFileOrCompilerDiagnostic github.com/microsoft/typescript-go/internal/tsoptions.CreateDiagnosticForNodeInSourceFileOrCompilerDiagnostic
60
- func CreateDiagnosticForNodeInSourceFileOrCompilerDiagnostic(sourceFile *ast.SourceFile, node *ast.Node, message *diagnostics.Message, args ...any) *ast.Diagnostic
61
-
62
- type DidYouMeanOptionsDiagnostics = tsoptions.DidYouMeanOptionsDiagnostics
63
- type ExtendedConfigCache = tsoptions.ExtendedConfigCache
64
- type ExtendedConfigCacheEntry = tsoptions.ExtendedConfigCacheEntry
65
- type FileExtensionInfo = tsoptions.FileExtensionInfo
66
-
67
- //go:linkname ForEachCompilerOptionValue github.com/microsoft/typescript-go/internal/tsoptions.ForEachCompilerOptionValue
68
- func ForEachCompilerOptionValue(options *core.CompilerOptions, declFilter func(*tsoptions.CommandLineOption) bool, fn func(option *tsoptions.CommandLineOption, value reflect.Value, i int) bool) bool
69
-
70
- //go:linkname GetCallbackForFindingPropertyAssignmentByValue github.com/microsoft/typescript-go/internal/tsoptions.GetCallbackForFindingPropertyAssignmentByValue
71
- func GetCallbackForFindingPropertyAssignmentByValue(value string) func(property *ast.PropertyAssignment) *ast.Node
72
-
73
- //go:linkname GetDefaultLibFileName github.com/microsoft/typescript-go/internal/tsoptions.GetDefaultLibFileName
74
- func GetDefaultLibFileName(options *core.CompilerOptions) string
75
-
76
- //go:linkname GetLibFileName github.com/microsoft/typescript-go/internal/tsoptions.GetLibFileName
77
- func GetLibFileName(libName string) (string, bool)
78
-
79
- //go:linkname GetNameMapFromList github.com/microsoft/typescript-go/internal/tsoptions.GetNameMapFromList
80
- func GetNameMapFromList(optDecls []*tsoptions.CommandLineOption) *tsoptions.NameMap
81
-
82
- //go:linkname GetOptionsSyntaxByArrayElementValue github.com/microsoft/typescript-go/internal/tsoptions.GetOptionsSyntaxByArrayElementValue
83
- func GetOptionsSyntaxByArrayElementValue(objectLiteral *ast.ObjectLiteralExpression, propKey string, elementValue string) *ast.Node
84
-
85
- //go:linkname GetParsedCommandLineOfConfigFile github.com/microsoft/typescript-go/internal/tsoptions.GetParsedCommandLineOfConfigFile
86
- func GetParsedCommandLineOfConfigFile(configFileName string, options *core.CompilerOptions, optionsRaw *collections.OrderedMap[string, any], sys tsoptions.ParseConfigHost, extendedConfigCache tsoptions.ExtendedConfigCache) (*tsoptions.ParsedCommandLine, []*ast.Diagnostic)
87
-
88
- //go:linkname GetParsedCommandLineOfConfigFilePath github.com/microsoft/typescript-go/internal/tsoptions.GetParsedCommandLineOfConfigFilePath
89
- func GetParsedCommandLineOfConfigFilePath(configFileName string, path tspath.Path, options *core.CompilerOptions, optionsRaw *collections.OrderedMap[string, any], sys tsoptions.ParseConfigHost, extendedConfigCache tsoptions.ExtendedConfigCache) (*tsoptions.ParsedCommandLine, []*ast.Diagnostic)
90
-
91
- //go:linkname GetSupportedExtensions github.com/microsoft/typescript-go/internal/tsoptions.GetSupportedExtensions
92
- func GetSupportedExtensions(compilerOptions *core.CompilerOptions, extraFileExtensions []tsoptions.FileExtensionInfo) [][]string
93
-
94
- //go:linkname GetSupportedExtensionsWithJsonIfResolveJsonModule github.com/microsoft/typescript-go/internal/tsoptions.GetSupportedExtensionsWithJsonIfResolveJsonModule
95
- func GetSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions *core.CompilerOptions, supportedExtensions [][]string) [][]string
96
-
97
- //go:linkname GetTsConfigPropArrayElementValue github.com/microsoft/typescript-go/internal/tsoptions.GetTsConfigPropArrayElementValue
98
- func GetTsConfigPropArrayElementValue(tsConfigSourceFile *ast.SourceFile, propKey string, elementValue string) *ast.StringLiteral
99
-
100
- var LibFilesSet = tsoptions.LibFilesSet
101
- var LibMap = tsoptions.LibMap
102
- var Libs = tsoptions.Libs
103
-
104
- type NameMap = tsoptions.NameMap
105
-
106
- //go:linkname NewParsedCommandLine github.com/microsoft/typescript-go/internal/tsoptions.NewParsedCommandLine
107
- func NewParsedCommandLine(compilerOptions *core.CompilerOptions, rootFileNames []string, comparePathsOptions tspath.ComparePathsOptions) *tsoptions.ParsedCommandLine
108
-
109
- //go:linkname NewTsconfigSourceFileFromFilePath github.com/microsoft/typescript-go/internal/tsoptions.NewTsconfigSourceFileFromFilePath
110
- func NewTsconfigSourceFileFromFilePath(configFileName string, configPath tspath.Path, configSourceText string) *tsoptions.TsConfigSourceFile
111
-
112
- var OptionsDeclarations = tsoptions.OptionsDeclarations
113
- var OptionsForBuild = tsoptions.OptionsForBuild
114
- var OptionsForWatch = tsoptions.OptionsForWatch
115
-
116
- //go:linkname ParseBuildCommandLine github.com/microsoft/typescript-go/internal/tsoptions.ParseBuildCommandLine
117
- func ParseBuildCommandLine(commandLine []string, host tsoptions.ParseConfigHost) *tsoptions.ParsedBuildCommandLine
118
-
119
- //go:linkname ParseBuildOptions github.com/microsoft/typescript-go/internal/tsoptions.ParseBuildOptions
120
- func ParseBuildOptions(key string, value any, allOptions *core.BuildOptions) []*ast.Diagnostic
121
-
122
- //go:linkname ParseCommandLine github.com/microsoft/typescript-go/internal/tsoptions.ParseCommandLine
123
- func ParseCommandLine(commandLine []string, host tsoptions.ParseConfigHost) *tsoptions.ParsedCommandLine
124
-
125
- type ParseCommandLineWorkerDiagnostics = tsoptions.ParseCommandLineWorkerDiagnostics
126
-
127
- //go:linkname ParseCompilerOptions github.com/microsoft/typescript-go/internal/tsoptions.ParseCompilerOptions
128
- func ParseCompilerOptions(key string, value any, allOptions *core.CompilerOptions) []*ast.Diagnostic
129
-
130
- //go:linkname ParseConfigFileTextToJson github.com/microsoft/typescript-go/internal/tsoptions.ParseConfigFileTextToJson
131
- func ParseConfigFileTextToJson(fileName string, path tspath.Path, jsonText string) (any, []*ast.Diagnostic)
132
-
133
- type ParseConfigHost = tsoptions.ParseConfigHost
134
-
135
- //go:linkname ParseExtendedConfig github.com/microsoft/typescript-go/internal/tsoptions.ParseExtendedConfig
136
- func ParseExtendedConfig(fileName string, path tspath.Path, resolutionStack []string, host tsoptions.ParseConfigHost, extendedConfigCache tsoptions.ExtendedConfigCache) *tsoptions.ExtendedConfigCacheEntry
137
-
138
- //go:linkname ParseJsonConfigFileContent github.com/microsoft/typescript-go/internal/tsoptions.ParseJsonConfigFileContent
139
- func ParseJsonConfigFileContent(json any, host tsoptions.ParseConfigHost, basePath string, existingOptions *core.CompilerOptions, configFileName string, resolutionStack []tspath.Path, extraFileExtensions []tsoptions.FileExtensionInfo, extendedConfigCache tsoptions.ExtendedConfigCache) *tsoptions.ParsedCommandLine
140
-
141
- //go:linkname ParseJsonSourceFileConfigFileContent github.com/microsoft/typescript-go/internal/tsoptions.ParseJsonSourceFileConfigFileContent
142
- func ParseJsonSourceFileConfigFileContent(sourceFile *tsoptions.TsConfigSourceFile, host tsoptions.ParseConfigHost, basePath string, existingOptions *core.CompilerOptions, existingOptionsRaw *collections.OrderedMap[string, any], configFileName string, resolutionStack []tspath.Path, extraFileExtensions []tsoptions.FileExtensionInfo, extendedConfigCache tsoptions.ExtendedConfigCache) *tsoptions.ParsedCommandLine
143
-
144
- //go:linkname ParseListTypeOption github.com/microsoft/typescript-go/internal/tsoptions.ParseListTypeOption
145
- func ParseListTypeOption(opt *tsoptions.CommandLineOption, value string) ([]any, []*ast.Diagnostic)
146
-
147
- //go:linkname ParseString github.com/microsoft/typescript-go/internal/tsoptions.ParseString
148
- func ParseString(value any) string
149
-
150
- //go:linkname ParseStringArray github.com/microsoft/typescript-go/internal/tsoptions.ParseStringArray
151
- func ParseStringArray(value any) []string
152
-
153
- //go:linkname ParseTristate github.com/microsoft/typescript-go/internal/tsoptions.ParseTristate
154
- func ParseTristate(value any) core.Tristate
155
-
156
- //go:linkname ParseTypeAcquisition github.com/microsoft/typescript-go/internal/tsoptions.ParseTypeAcquisition
157
- func ParseTypeAcquisition(key string, value any, allOptions *core.TypeAcquisition) []*ast.Diagnostic
158
-
159
- //go:linkname ParseWatchOptions github.com/microsoft/typescript-go/internal/tsoptions.ParseWatchOptions
160
- func ParseWatchOptions(key string, value any, allOptions *core.WatchOptions) []*ast.Diagnostic
161
-
162
- type ParsedBuildCommandLine = tsoptions.ParsedBuildCommandLine
163
- type ParsedCommandLine = tsoptions.ParsedCommandLine
164
- type SourceOutputAndProjectReference = tsoptions.SourceOutputAndProjectReference
165
- type TSConfig = tsoptions.TSConfig
166
-
167
- //go:linkname TargetToLibMap github.com/microsoft/typescript-go/internal/tsoptions.TargetToLibMap
168
- func TargetToLibMap() map[core.ScriptTarget]string
169
-
170
- type TsConfigSourceFile = tsoptions.TsConfigSourceFile
171
-
172
- var TscBuildOption = tsoptions.TscBuildOption
173
- var WatchNameMap = tsoptions.WatchNameMap
@@ -1,4 +0,0 @@
1
- {
2
- "ExtraMethods": {},
3
- "ExtraFields": {}
4
- }
@@ -1,5 +0,0 @@
1
- module github.com/microsoft/typescript-go/shim/tspath
2
-
3
- go 1.26
4
-
5
- require github.com/microsoft/typescript-go v0.0.0-20260429010842-56ab4af42157
@@ -1,236 +0,0 @@
1
- // Code generated by packages/ttsc/tools/gen_shims. DO NOT EDIT.
2
-
3
- package tspath
4
-
5
- import "github.com/microsoft/typescript-go/internal/tspath"
6
- import _ "unsafe"
7
-
8
- var AllSupportedExtensions = tspath.AllSupportedExtensions
9
- var AllSupportedExtensionsWithJson = tspath.AllSupportedExtensionsWithJson
10
-
11
- //go:linkname ChangeAnyExtension github.com/microsoft/typescript-go/internal/tspath.ChangeAnyExtension
12
- func ChangeAnyExtension(path string, ext string, extensions []string, ignoreCase bool) string
13
-
14
- //go:linkname ChangeExtension github.com/microsoft/typescript-go/internal/tspath.ChangeExtension
15
- func ChangeExtension(path string, newExtension string) string
16
-
17
- //go:linkname ChangeFullExtension github.com/microsoft/typescript-go/internal/tspath.ChangeFullExtension
18
- func ChangeFullExtension(path string, newExtension string) string
19
-
20
- //go:linkname CombinePaths github.com/microsoft/typescript-go/internal/tspath.CombinePaths
21
- func CombinePaths(firstPath string, paths ...string) string
22
-
23
- //go:linkname CompareNumberOfDirectorySeparators github.com/microsoft/typescript-go/internal/tspath.CompareNumberOfDirectorySeparators
24
- func CompareNumberOfDirectorySeparators(path1 string, path2 string) int
25
-
26
- //go:linkname ComparePaths github.com/microsoft/typescript-go/internal/tspath.ComparePaths
27
- func ComparePaths(a string, b string, options tspath.ComparePathsOptions) int
28
-
29
- //go:linkname ComparePathsCaseInsensitive github.com/microsoft/typescript-go/internal/tspath.ComparePathsCaseInsensitive
30
- func ComparePathsCaseInsensitive(a string, b string, currentDirectory string) int
31
-
32
- //go:linkname ComparePathsCaseSensitive github.com/microsoft/typescript-go/internal/tspath.ComparePathsCaseSensitive
33
- func ComparePathsCaseSensitive(a string, b string, currentDirectory string) int
34
-
35
- type ComparePathsOptions = tspath.ComparePathsOptions
36
-
37
- //go:linkname ContainsIgnoredPath github.com/microsoft/typescript-go/internal/tspath.ContainsIgnoredPath
38
- func ContainsIgnoredPath(path string) bool
39
-
40
- //go:linkname ContainsPath github.com/microsoft/typescript-go/internal/tspath.ContainsPath
41
- func ContainsPath(parent string, child string, options tspath.ComparePathsOptions) bool
42
-
43
- //go:linkname ConvertToRelativePath github.com/microsoft/typescript-go/internal/tspath.ConvertToRelativePath
44
- func ConvertToRelativePath(absoluteOrRelativePath string, options tspath.ComparePathsOptions) string
45
-
46
- const DirectorySeparator = tspath.DirectorySeparator
47
-
48
- //go:linkname EnsurePathIsNonModuleName github.com/microsoft/typescript-go/internal/tspath.EnsurePathIsNonModuleName
49
- func EnsurePathIsNonModuleName(path string) string
50
-
51
- //go:linkname EnsureTrailingDirectorySeparator github.com/microsoft/typescript-go/internal/tspath.EnsureTrailingDirectorySeparator
52
- func EnsureTrailingDirectorySeparator(path string) string
53
-
54
- const ExtensionCjs = tspath.ExtensionCjs
55
- const ExtensionCts = tspath.ExtensionCts
56
- const ExtensionDcts = tspath.ExtensionDcts
57
- const ExtensionDmts = tspath.ExtensionDmts
58
- const ExtensionDts = tspath.ExtensionDts
59
-
60
- //go:linkname ExtensionIsOneOf github.com/microsoft/typescript-go/internal/tspath.ExtensionIsOneOf
61
- func ExtensionIsOneOf(ext string, extensions []string) bool
62
-
63
- //go:linkname ExtensionIsTs github.com/microsoft/typescript-go/internal/tspath.ExtensionIsTs
64
- func ExtensionIsTs(ext string) bool
65
-
66
- const ExtensionJs = tspath.ExtensionJs
67
- const ExtensionJson = tspath.ExtensionJson
68
- const ExtensionJsx = tspath.ExtensionJsx
69
- const ExtensionMjs = tspath.ExtensionMjs
70
- const ExtensionMts = tspath.ExtensionMts
71
- const ExtensionTs = tspath.ExtensionTs
72
- const ExtensionTsBuildInfo = tspath.ExtensionTsBuildInfo
73
- const ExtensionTsx = tspath.ExtensionTsx
74
-
75
- var ExtensionsNotSupportingExtensionlessResolution = tspath.ExtensionsNotSupportingExtensionlessResolution
76
-
77
- //go:linkname FileExtensionIs github.com/microsoft/typescript-go/internal/tspath.FileExtensionIs
78
- func FileExtensionIs(path string, extension string) bool
79
-
80
- //go:linkname FileExtensionIsOneOf github.com/microsoft/typescript-go/internal/tspath.FileExtensionIsOneOf
81
- func FileExtensionIsOneOf(path string, extensions []string) bool
82
-
83
- //go:linkname GetAnyExtensionFromPath github.com/microsoft/typescript-go/internal/tspath.GetAnyExtensionFromPath
84
- func GetAnyExtensionFromPath(path string, extensions []string, ignoreCase bool) string
85
-
86
- //go:linkname GetBaseFileName github.com/microsoft/typescript-go/internal/tspath.GetBaseFileName
87
- func GetBaseFileName(path string) string
88
-
89
- //go:linkname GetCanonicalFileName github.com/microsoft/typescript-go/internal/tspath.GetCanonicalFileName
90
- func GetCanonicalFileName(fileName string, useCaseSensitiveFileNames bool) string
91
-
92
- //go:linkname GetCommonParents github.com/microsoft/typescript-go/internal/tspath.GetCommonParents
93
- func GetCommonParents(paths []string, minComponents int, getPathComponents func(path string, currentDirectory string) []string, options tspath.ComparePathsOptions) (parents []string, ignored map[string]struct{})
94
-
95
- //go:linkname GetDeclarationEmitExtensionForPath github.com/microsoft/typescript-go/internal/tspath.GetDeclarationEmitExtensionForPath
96
- func GetDeclarationEmitExtensionForPath(path string) string
97
-
98
- //go:linkname GetDeclarationFileExtension github.com/microsoft/typescript-go/internal/tspath.GetDeclarationFileExtension
99
- func GetDeclarationFileExtension(fileName string) string
100
-
101
- //go:linkname GetDirectoryPath github.com/microsoft/typescript-go/internal/tspath.GetDirectoryPath
102
- func GetDirectoryPath(path string) string
103
-
104
- //go:linkname GetEncodedRootLength github.com/microsoft/typescript-go/internal/tspath.GetEncodedRootLength
105
- func GetEncodedRootLength(path string) int
106
-
107
- //go:linkname GetNormalizedAbsolutePath github.com/microsoft/typescript-go/internal/tspath.GetNormalizedAbsolutePath
108
- func GetNormalizedAbsolutePath(fileName string, currentDirectory string) string
109
-
110
- //go:linkname GetNormalizedAbsolutePathWithoutRoot github.com/microsoft/typescript-go/internal/tspath.GetNormalizedAbsolutePathWithoutRoot
111
- func GetNormalizedAbsolutePathWithoutRoot(fileName string, currentDirectory string) string
112
-
113
- //go:linkname GetNormalizedPathComponents github.com/microsoft/typescript-go/internal/tspath.GetNormalizedPathComponents
114
- func GetNormalizedPathComponents(path string, currentDirectory string) []string
115
-
116
- //go:linkname GetPathComponents github.com/microsoft/typescript-go/internal/tspath.GetPathComponents
117
- func GetPathComponents(path string, currentDirectory string) []string
118
-
119
- //go:linkname GetPathComponentsRelativeTo github.com/microsoft/typescript-go/internal/tspath.GetPathComponentsRelativeTo
120
- func GetPathComponentsRelativeTo(from string, to string, options tspath.ComparePathsOptions) []string
121
-
122
- //go:linkname GetPathFromPathComponents github.com/microsoft/typescript-go/internal/tspath.GetPathFromPathComponents
123
- func GetPathFromPathComponents(pathComponents []string) string
124
-
125
- //go:linkname GetPossibleOriginalInputExtensionForExtension github.com/microsoft/typescript-go/internal/tspath.GetPossibleOriginalInputExtensionForExtension
126
- func GetPossibleOriginalInputExtensionForExtension(path string) []string
127
-
128
- //go:linkname GetRelativePathFromDirectory github.com/microsoft/typescript-go/internal/tspath.GetRelativePathFromDirectory
129
- func GetRelativePathFromDirectory(fromDirectory string, to string, options tspath.ComparePathsOptions) string
130
-
131
- //go:linkname GetRelativePathFromFile github.com/microsoft/typescript-go/internal/tspath.GetRelativePathFromFile
132
- func GetRelativePathFromFile(from string, to string, options tspath.ComparePathsOptions) string
133
-
134
- //go:linkname GetRelativePathToDirectoryOrUrl github.com/microsoft/typescript-go/internal/tspath.GetRelativePathToDirectoryOrUrl
135
- func GetRelativePathToDirectoryOrUrl(directoryPathOrUrl string, relativeOrAbsolutePath string, isAbsolutePathAnUrl bool, options tspath.ComparePathsOptions) string
136
-
137
- //go:linkname GetRootLength github.com/microsoft/typescript-go/internal/tspath.GetRootLength
138
- func GetRootLength(path string) int
139
-
140
- //go:linkname HasExtension github.com/microsoft/typescript-go/internal/tspath.HasExtension
141
- func HasExtension(fileName string) bool
142
-
143
- //go:linkname HasImplementationTSFileExtension github.com/microsoft/typescript-go/internal/tspath.HasImplementationTSFileExtension
144
- func HasImplementationTSFileExtension(path string) bool
145
-
146
- //go:linkname HasJSFileExtension github.com/microsoft/typescript-go/internal/tspath.HasJSFileExtension
147
- func HasJSFileExtension(path string) bool
148
-
149
- //go:linkname HasJSONFileExtension github.com/microsoft/typescript-go/internal/tspath.HasJSONFileExtension
150
- func HasJSONFileExtension(path string) bool
151
-
152
- //go:linkname HasTSFileExtension github.com/microsoft/typescript-go/internal/tspath.HasTSFileExtension
153
- func HasTSFileExtension(path string) bool
154
-
155
- //go:linkname HasTrailingDirectorySeparator github.com/microsoft/typescript-go/internal/tspath.HasTrailingDirectorySeparator
156
- func HasTrailingDirectorySeparator(path string) bool
157
-
158
- //go:linkname IsDeclarationFileName github.com/microsoft/typescript-go/internal/tspath.IsDeclarationFileName
159
- func IsDeclarationFileName(fileName string) bool
160
-
161
- //go:linkname IsDiskPathRoot github.com/microsoft/typescript-go/internal/tspath.IsDiskPathRoot
162
- func IsDiskPathRoot(path string) bool
163
-
164
- //go:linkname IsDynamicFileName github.com/microsoft/typescript-go/internal/tspath.IsDynamicFileName
165
- func IsDynamicFileName(fileName string) bool
166
-
167
- //go:linkname IsExternalModuleNameRelative github.com/microsoft/typescript-go/internal/tspath.IsExternalModuleNameRelative
168
- func IsExternalModuleNameRelative(moduleName string) bool
169
-
170
- //go:linkname IsRootedDiskPath github.com/microsoft/typescript-go/internal/tspath.IsRootedDiskPath
171
- func IsRootedDiskPath(path string) bool
172
-
173
- //go:linkname IsUrl github.com/microsoft/typescript-go/internal/tspath.IsUrl
174
- func IsUrl(path string) bool
175
-
176
- //go:linkname IsVolumeCharacter github.com/microsoft/typescript-go/internal/tspath.IsVolumeCharacter
177
- func IsVolumeCharacter(char byte) bool
178
-
179
- //go:linkname NormalizePath github.com/microsoft/typescript-go/internal/tspath.NormalizePath
180
- func NormalizePath(path string) string
181
-
182
- //go:linkname NormalizeSlashes github.com/microsoft/typescript-go/internal/tspath.NormalizeSlashes
183
- func NormalizeSlashes(path string) string
184
-
185
- type Path = tspath.Path
186
-
187
- //go:linkname PathIsAbsolute github.com/microsoft/typescript-go/internal/tspath.PathIsAbsolute
188
- func PathIsAbsolute(path string) bool
189
-
190
- //go:linkname PathIsRelative github.com/microsoft/typescript-go/internal/tspath.PathIsRelative
191
- func PathIsRelative(path string) bool
192
-
193
- //go:linkname RemoveExtension github.com/microsoft/typescript-go/internal/tspath.RemoveExtension
194
- func RemoveExtension(path string, extension string) string
195
-
196
- //go:linkname RemoveFileExtension github.com/microsoft/typescript-go/internal/tspath.RemoveFileExtension
197
- func RemoveFileExtension(path string) string
198
-
199
- //go:linkname RemoveTrailingDirectorySeparator github.com/microsoft/typescript-go/internal/tspath.RemoveTrailingDirectorySeparator
200
- func RemoveTrailingDirectorySeparator(path string) string
201
-
202
- //go:linkname RemoveTrailingDirectorySeparators github.com/microsoft/typescript-go/internal/tspath.RemoveTrailingDirectorySeparators
203
- func RemoveTrailingDirectorySeparators(path string) string
204
-
205
- //go:linkname ResolvePath github.com/microsoft/typescript-go/internal/tspath.ResolvePath
206
- func ResolvePath(path string, paths ...string) string
207
-
208
- //go:linkname ResolveTripleslashReference github.com/microsoft/typescript-go/internal/tspath.ResolveTripleslashReference
209
- func ResolveTripleslashReference(moduleName string, containingFile string) string
210
-
211
- //go:linkname SplitVolumePath github.com/microsoft/typescript-go/internal/tspath.SplitVolumePath
212
- func SplitVolumePath(path string) (volume string, rest string, ok bool)
213
-
214
- //go:linkname StartsWithDirectory github.com/microsoft/typescript-go/internal/tspath.StartsWithDirectory
215
- func StartsWithDirectory(fileName string, directoryName string, useCaseSensitiveFileNames bool) bool
216
-
217
- var SupportedDeclarationExtensions = tspath.SupportedDeclarationExtensions
218
- var SupportedJSExtensions = tspath.SupportedJSExtensions
219
- var SupportedJSExtensionsFlat = tspath.SupportedJSExtensionsFlat
220
- var SupportedTSExtensions = tspath.SupportedTSExtensions
221
- var SupportedTSExtensionsFlat = tspath.SupportedTSExtensionsFlat
222
- var SupportedTSExtensionsWithJson = tspath.SupportedTSExtensionsWithJson
223
- var SupportedTSExtensionsWithJsonFlat = tspath.SupportedTSExtensionsWithJsonFlat
224
- var SupportedTSImplementationExtensions = tspath.SupportedTSImplementationExtensions
225
-
226
- //go:linkname ToFileNameLowerCase github.com/microsoft/typescript-go/internal/tspath.ToFileNameLowerCase
227
- func ToFileNameLowerCase(fileName string) string
228
-
229
- //go:linkname ToPath github.com/microsoft/typescript-go/internal/tspath.ToPath
230
- func ToPath(fileName string, basePath string, useCaseSensitiveFileNames bool) tspath.Path
231
-
232
- //go:linkname TryExtractTSExtension github.com/microsoft/typescript-go/internal/tspath.TryExtractTSExtension
233
- func TryExtractTSExtension(fileName string) string
234
-
235
- //go:linkname TryGetExtensionFromPath github.com/microsoft/typescript-go/internal/tspath.TryGetExtensionFromPath
236
- func TryGetExtensionFromPath(p string) string
@@ -1,4 +0,0 @@
1
- {
2
- "ExtraMethods": {},
3
- "ExtraFields": {}
4
- }
@@ -1,5 +0,0 @@
1
- module github.com/microsoft/typescript-go/shim/vfs/cachedvfs
2
-
3
- go 1.26
4
-
5
- require github.com/microsoft/typescript-go v0.0.0-20260429010842-56ab4af42157
@@ -1,12 +0,0 @@
1
- // Code generated by packages/ttsc/tools/gen_shims. DO NOT EDIT.
2
-
3
- package cachedvfs
4
-
5
- import "github.com/microsoft/typescript-go/internal/vfs"
6
- import "github.com/microsoft/typescript-go/internal/vfs/cachedvfs"
7
- import _ "unsafe"
8
-
9
- type FS = cachedvfs.FS
10
-
11
- //go:linkname From github.com/microsoft/typescript-go/internal/vfs/cachedvfs.From
12
- func From(fs vfs.FS) *cachedvfs.FS
@@ -1,4 +0,0 @@
1
- {
2
- "ExtraMethods": {},
3
- "ExtraFields": {}
4
- }
@@ -1,5 +0,0 @@
1
- module github.com/microsoft/typescript-go/shim/vfs
2
-
3
- go 1.26
4
-
5
- require github.com/microsoft/typescript-go v0.0.0-20260429010842-56ab4af42157
@@ -1,4 +0,0 @@
1
- {
2
- "ExtraMethods": {},
3
- "ExtraFields": {}
4
- }
@@ -1,5 +0,0 @@
1
- module github.com/microsoft/typescript-go/shim/vfs/osvfs
2
-
3
- go 1.26
4
-
5
- require github.com/microsoft/typescript-go v0.0.0-20260429010842-56ab4af42157
@@ -1,13 +0,0 @@
1
- // Code generated by packages/ttsc/tools/gen_shims. DO NOT EDIT.
2
-
3
- package osvfs
4
-
5
- import "github.com/microsoft/typescript-go/internal/vfs"
6
- import _ "github.com/microsoft/typescript-go/internal/vfs/osvfs"
7
- import _ "unsafe"
8
-
9
- //go:linkname FS github.com/microsoft/typescript-go/internal/vfs/osvfs.FS
10
- func FS() vfs.FS
11
-
12
- //go:linkname GetGlobalTypingsCacheLocation github.com/microsoft/typescript-go/internal/vfs/osvfs.GetGlobalTypingsCacheLocation
13
- func GetGlobalTypingsCacheLocation() string