github.com/evanw/esbuild/internal/js_ast.ECall.CanBeUnwrappedIfUnused (field)
19 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L454: CanBeUnwrappedIfUnused bool
js_ast.go#L460: a.CanBeUnwrappedIfUnused == b.CanBeUnwrappedIfUnused
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L3303: e.CanBeUnwrappedIfUnused = true
js_parser.go#L7935: value.Data.(*js_ast.ECall).CanBeUnwrappedIfUnused = true
js_parser.go#L9996: CanBeUnwrappedIfUnused: !p.options.ignoreDCEAnnotations,
js_parser.go#L11297: e.CanBeUnwrappedIfUnused = true
js_parser.go#L11301: e.CanBeUnwrappedIfUnused = true
js_parser.go#L11324: CanBeUnwrappedIfUnused: e.CanBeUnwrappedIfUnused,
js_parser.go#L12347: if e.CanBeUnwrappedIfUnused {
js_parser.go#L12570: if e.CanBeUnwrappedIfUnused {
js_parser_lower.go#L671: CanBeUnwrappedIfUnused: e.CanBeUnwrappedIfUnused,
js_parser_lower.go#L688: CanBeUnwrappedIfUnused: e.CanBeUnwrappedIfUnused,
js_parser_lower.go#L698: CanBeUnwrappedIfUnused: e.CanBeUnwrappedIfUnused,
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1449: hasPureComment := !p.options.RemoveWhitespace && e.CanBeUnwrappedIfUnused
![]() |
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. |