Documentation
¶
Index ¶
- func ForEachEmittedFile(host OutputPathsHost, options *core.CompilerOptions, ...) bool
- func GetBuildInfoFileName(options *core.CompilerOptions, opts tspath.ComparePathsOptions) string
- func GetCommonSourceDirectory(options *core.CompilerOptions, files func() []string, currentDirectory string, ...) string
- func GetDeclarationEmitOutputFilePath(file string, options *core.CompilerOptions, host OutputPathsHost) string
- func GetOutputDeclarationFileNameWorker(inputFileName string, options *core.CompilerOptions, host OutputPathsHost) string
- func GetOutputExtension(fileName string, jsx core.JsxEmit) string
- func GetOutputJSFileName(inputFileName string, options *core.CompilerOptions, host OutputPathsHost) string
- func GetOutputJSFileNameWorker(inputFileName string, options *core.CompilerOptions, host OutputPathsHost) string
- func GetSourceFilePathInNewDir(fileName string, newDirPath string, currentDirectory string, ...) string
- func GetSourceFilePathInNewDirWorker(fileName string, newDirPath string, currentDirectory string, ...) string
- func GetSourceMapFilePath(jsFilePath string, options *core.CompilerOptions) string
- type OutputPaths
- type OutputPathsHost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForEachEmittedFile ¶
func ForEachEmittedFile(host OutputPathsHost, options *core.CompilerOptions, action func(emitFileNames *OutputPaths, sourceFile *ast.SourceFile) bool, sourceFiles []*ast.SourceFile, forceDtsEmit bool) bool
func GetBuildInfoFileName ¶
func GetBuildInfoFileName(options *core.CompilerOptions, opts tspath.ComparePathsOptions) string
func GetDeclarationEmitOutputFilePath ¶
func GetDeclarationEmitOutputFilePath(file string, options *core.CompilerOptions, host OutputPathsHost) string
func GetOutputDeclarationFileNameWorker ¶
func GetOutputDeclarationFileNameWorker(inputFileName string, options *core.CompilerOptions, host OutputPathsHost) string
func GetOutputJSFileName ¶
func GetOutputJSFileName(inputFileName string, options *core.CompilerOptions, host OutputPathsHost) string
func GetOutputJSFileNameWorker ¶
func GetOutputJSFileNameWorker(inputFileName string, options *core.CompilerOptions, host OutputPathsHost) string
func GetSourceMapFilePath ¶
func GetSourceMapFilePath(jsFilePath string, options *core.CompilerOptions) string
Types ¶
type OutputPaths ¶
type OutputPaths struct {
// contains filtered or unexported fields
}
func GetOutputPathsFor ¶
func GetOutputPathsFor(sourceFile *ast.SourceFile, options *core.CompilerOptions, host OutputPathsHost, forceDtsEmit bool) *OutputPaths
func (*OutputPaths) DeclarationFilePath ¶
func (o *OutputPaths) DeclarationFilePath() string
DeclarationFilePath implements declarations.OutputPaths.
func (*OutputPaths) DeclarationMapPath ¶
func (o *OutputPaths) DeclarationMapPath() string
func (*OutputPaths) JsFilePath ¶
func (o *OutputPaths) JsFilePath() string
JsFilePath implements declarations.OutputPaths.
func (*OutputPaths) SourceMapFilePath ¶
func (o *OutputPaths) SourceMapFilePath() string
type OutputPathsHost ¶
Click to show internal directories.
Click to hide internal directories.