package renamer

Import Path
	github.com/evanw/esbuild/internal/renamer (on go.dev)

Dependency Relation
	imports 6 packages, and imported by 3 packages

Involved Source Files renamer.go
Package-Level Type Names (total 12, in which 6 are exported)
/* sort exporteds by: | */
(*T) NextMinifiedName() string (*T) NextRenamedName(name string) string
(*T) AccumulateSymbolCount(ref js_ast.Ref, count uint32) (*T) AccumulateSymbolUseCounts(symbolUses map[js_ast.Ref]js_ast.SymbolUse, stableSourceIndices []uint32) (*T) AssignNamesByFrequency(minifier *js_ast.NameMinifier) (*T) NameForSymbol(ref js_ast.Ref) string *T : Renamer func NewMinifyRenamer(symbols js_ast.SymbolMap, firstTopLevelSlots js_ast.SlotCounts, reservedNames map[string]uint32) *MinifyRenamer
(*T) AddTopLevelSymbol(ref js_ast.Ref) (*T) AssignNamesByScope(nestedScopes map[uint32][]*js_ast.Scope) (*T) NameForSymbol(ref js_ast.Ref) string *T : Renamer func NewNumberRenamer(symbols js_ast.SymbolMap, reservedNames map[string]uint32) *NumberRenamer
( T) NameForSymbol(ref js_ast.Ref) string *MinifyRenamer *NumberRenamer func NewNoOpRenamer(symbols js_ast.SymbolMap) Renamer func github.com/evanw/esbuild/internal/js_printer.Print(tree js_ast.AST, symbols js_ast.SymbolMap, r Renamer, options js_printer.Options) js_printer.PrintResult
Ref js_ast.Ref StableOuterIndex uint32
This type is just so we can use Go's native sort function ( T) Len() int ( T) Less(i int, j int) bool ( T) Swap(i int, j int) T : sort.Interface
Package-Level Functions (total 6, in which 5 are exported)
Returns the number of nested slots
func NewMinifyRenamer(symbols js_ast.SymbolMap, firstTopLevelSlots js_ast.SlotCounts, reservedNames map[string]uint32) *MinifyRenamer
Package-Level Constants (total 3, none are exported)