outputpaths

package
v0.0.0-...-746dcca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 GetCommonSourceDirectory

func GetCommonSourceDirectory(options *core.CompilerOptions, files func() []string, currentDirectory string, useCaseSensitiveFileNames bool) 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 GetOutputExtension

func GetOutputExtension(fileName string, jsx core.JsxEmit) 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 GetSourceFilePathInNewDir

func GetSourceFilePathInNewDir(fileName string, newDirPath string, currentDirectory string, commonSourceDirectory string, useCaseSensitiveFileNames bool) string

func GetSourceFilePathInNewDirWorker

func GetSourceFilePathInNewDirWorker(fileName string, newDirPath string, currentDirectory string, commonSourceDirectory string, useCaseSensitiveFileNames bool) 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

type OutputPathsHost interface {
	CommonSourceDirectory() string
	GetCurrentDirectory() string
	UseCaseSensitiveFileNames() bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL