github.com/evanw/esbuild/internal/js_ast.Symbol.UseCountEstimate (field)
20 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1410: UseCountEstimate uint32
js_ast.go#L1855: newSymbol.UseCountEstimate += oldSymbol.UseCountEstimate
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1208: newSymbol.UseCountEstimate += oldSymbol.UseCountEstimate
js_parser.go#L1495: p.symbols[ref.InnerIndex].UseCountEstimate++
js_parser.go#L1512: p.symbols[ref.InnerIndex].UseCountEstimate--
js_parser.go#L6718: if id, ok := last.Binding.Data.(*js_ast.BIdentifier); ok && p.symbols[id.Ref.InnerIndex].UseCountEstimate == 1 {
js_parser.go#L9079: if p.symbols[shadowRef.InnerIndex].UseCountEstimate == 0 {
js_parser.go#L11462: if p.options.mangleSyntax && name != nil && p.symbols[name.Ref.InnerIndex].UseCountEstimate == 0 {
js_parser.go#L11787: if symbol.UseCountEstimate == 0 {
js_parser.go#L11803: if symbol.UseCountEstimate == 0 {
js_parser.go#L11826: if symbol.UseCountEstimate != 0 {
js_parser.go#L11890: convertStarToClause := p.symbols[s.NamespaceRef.InnerIndex].UseCountEstimate == 0
js_parser.go#L12025: if ref := decl.Binding.Data.(*js_ast.BIdentifier).Ref; p.symbols[ref.InnerIndex].UseCountEstimate == 0 {
js_parser.go#L12981: charFreq.Scan(symbol.OriginalName, -int32(symbol.UseCountEstimate))
js_parser.go#L12987: charFreq.Scan(symbol.OriginalName, -int32(symbol.UseCountEstimate)-1)
js_parser.go#L13171: UsesExportsRef: p.symbols[p.exportsRef.InnerIndex].UseCountEstimate > 0,
js_parser.go#L13172: UsesModuleRef: p.symbols[p.moduleRef.InnerIndex].UseCountEstimate > 0,
js_parser_lower.go#L1558: if p.options.mangleSyntax && symbol.UseCountEstimate == 0 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |