type github.com/evanw/esbuild/internal/config.DefineArgs
13 uses
github.com/evanw/esbuild/internal/config (current package)
globals.go#L812: type DefineArgs struct {
globals.go#L818: type DefineFunc func(DefineArgs) js_ast.E
globals.go#L898: DefineFunc: func(DefineArgs) js_ast.E { return &js_ast.EUndefined{} },
globals.go#L901: DefineFunc: func(DefineArgs) js_ast.E { return &js_ast.ENumber{Value: math.NaN()} },
globals.go#L904: DefineFunc: func(DefineArgs) js_ast.E { return &js_ast.ENumber{Value: math.Inf(1)} },
github.com/evanw/esbuild/internal/bundler
bundler.go#L1916: DefineFunc: func(config.DefineArgs) js_ast.E {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L11524: expr := js_ast.Expr{Loc: loc, Data: defineFunc(config.DefineArgs{
github.com/evanw/esbuild/pkg/api
api_impl.go#L401: DefineFunc: func(args config.DefineArgs) js_ast.E {
api_impl.go#L427: fn = func(config.DefineArgs) js_ast.E { return &js_ast.ENull{} }
api_impl.go#L429: fn = func(config.DefineArgs) js_ast.E { return &js_ast.EBoolean{Value: e.Value} }
api_impl.go#L431: fn = func(config.DefineArgs) js_ast.E { return &js_ast.EString{Value: e.Value} }
api_impl.go#L433: fn = func(config.DefineArgs) js_ast.E { return &js_ast.ENumber{Value: e.Value} }
api_impl.go#L452: rawDefines[key] = config.DefineData{DefineFunc: func(args config.DefineArgs) js_ast.E {
![]() |
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. |