github.com/evanw/esbuild/internal/js_ast.EBoolean.Value (field)
41 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L403: type EBoolean struct{ Value bool }
js_ast.go#L721: return Expr{Loc: expr.Loc, Data: &EBoolean{Value: true}}, true
js_ast.go#L724: return Expr{Loc: expr.Loc, Data: &EBoolean{Value: !e.Value}}, true
js_ast.go#L727: return Expr{Loc: expr.Loc, Data: &EBoolean{Value: e.Value == 0 || math.IsNaN(e.Value)}}, true
js_ast.go#L730: return Expr{Loc: expr.Loc, Data: &EBoolean{Value: e.Value == "0"}}, true
js_ast.go#L733: return Expr{Loc: expr.Loc, Data: &EBoolean{Value: len(e.Value) == 0}}, true
js_ast.go#L736: return Expr{Loc: expr.Loc, Data: &EBoolean{Value: false}}, true
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L539: if e.Value {
js_parser.go#L597: return ok && a.Value == b.Value, false
js_parser.go#L720: return e.Value, noSideEffects, true
js_parser.go#L786: if e.Value {
js_parser.go#L900: return ok && l.Value == r.Value, ok
js_parser.go#L2659: return js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: false}}
js_parser.go#L2663: return js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: true}}
js_parser.go#L4105: value = js_ast.Expr{Loc: logger.Loc{Start: keyRange.Loc.Start + keyRange.Len}, Data: &js_ast.EBoolean{Value: true}}
js_parser.go#L7767: if yes.Value && !no.Value {
js_parser.go#L7770: if !yes.Value && no.Value {
js_parser.go#L8860: valueFunc = func() js_ast.Expr { return js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: e.Value}} }
js_parser.go#L9298: if boolean.Value == isNotEqual {
js_parser.go#L10094: data := &js_ast.EBoolean{Value: result}
js_parser.go#L10125: return js_ast.Expr{Loc: expr.Loc, Data: &js_ast.EBoolean{Value: result}}, exprOut{}
js_parser.go#L10146: return js_ast.Expr{Loc: expr.Loc, Data: &js_ast.EBoolean{Value: !result}}, exprOut{}
js_parser.go#L10167: return js_ast.Expr{Loc: expr.Loc, Data: &js_ast.EBoolean{Value: !result}}, exprOut{}
js_parser.go#L10679: return js_ast.Expr{Loc: expr.Loc, Data: &js_ast.EBoolean{Value: !boolean}}, exprOut{}
js_parser.go#L11609: return js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: false}}
js_parser_lower.go#L502: valueWhenUndefined = js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: true}}
json_parser.go#L38: return js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: false}}
json_parser.go#L42: return js_ast.Expr{Loc: loc, Data: &js_ast.EBoolean{Value: true}}
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1784: if e.Value {
js_printer.go#L1790: if e.Value {
js_printer.go#L1798: if e.Value {
github.com/evanw/esbuild/internal/resolver
resolver.go#L1011: if !data.Value {
resolver.go#L1181: return value.Value, true
github.com/evanw/esbuild/pkg/api
api_impl.go#L429: fn = func(config.DefineArgs) js_ast.E { return &js_ast.EBoolean{Value: e.Value} }
 |
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. |