github.com/evanw/esbuild/internal/js_parser.parser.simplifyBooleanExpr (method)
9 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L8296: s.Test = p.simplifyBooleanExpr(s.Test)
js_parser.go#L8315: s.Test = p.simplifyBooleanExpr(s.Test)
js_parser.go#L8322: s.Test = p.simplifyBooleanExpr(s.Test)
js_parser.go#L8372: *s.Test = p.simplifyBooleanExpr(*s.Test)
js_parser.go#L9523: func (p *parser) simplifyBooleanExpr(expr js_ast.Expr) js_ast.Expr {
js_parser.go#L9529: return p.simplifyBooleanExpr(e2.Value)
js_parser.go#L9532: e.Value = p.simplifyBooleanExpr(e.Value)
js_parser.go#L10675: e.Value = p.simplifyBooleanExpr(e.Value)
js_parser.go#L10828: e.Test = p.simplifyBooleanExpr(e.Test)
![]() |
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. |