func github.com/evanw/esbuild/internal/js_ast.GenerateNonUniqueNameFromPath
7 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1874: func GenerateNonUniqueNameFromPath(path string) string {
github.com/evanw/esbuild/internal/bundler
bundler.go#L159: IdentifierName: js_ast.GenerateNonUniqueNameFromPath(args.keyPath.Text),
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5288: name := js_ast.GenerateNonUniqueNameFromPath(pathText) + "_star"
js_parser.go#L5310: name := "import_" + js_ast.GenerateNonUniqueNameFromPath(pathText)
js_parser.go#L5884: name := "import_" + js_ast.GenerateNonUniqueNameFromPath(pathText)
js_parser.go#L12762: ref := p.newSymbol(js_ast.SymbolOther, js_ast.GenerateNonUniqueNameFromPath(file.Path))
js_parser.go#L13006: namespaceRef := p.newSymbol(js_ast.SymbolOther, "import_"+js_ast.GenerateNonUniqueNameFromPath(path))
![]() |
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. |