github.com/evanw/esbuild/internal/js_ast.EIf.Test (field)

50 uses

	github.com/evanw/esbuild/internal/js_ast (current package)
		js_ast.go#L619: 	Test Expr

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L938: 		if b, ok := right.(*js_ast.EIf); ok && valuesLookTheSame(a.Test.Data, b.Test.Data) &&
		js_parser.go#L3556: 			left = js_ast.Expr{Loc: left.Loc, Data: &js_ast.EIf{Test: left, Yes: yes, No: no}}
		js_parser.go#L7037: 							value := js_ast.JoinWithComma(comma.Left, p.mangleIfExpr(comma.Right.Loc, &js_ast.EIf{Test: comma.Right, Yes: *left, No: *right}))
		js_parser.go#L7041: 							value := p.mangleIfExpr(prevS.Test.Loc, &js_ast.EIf{Test: prevS.Test, Yes: *left, No: *right})
		js_parser.go#L7096: 						lastThrow = &js_ast.SThrow{Value: js_ast.JoinWithComma(comma.Left, p.mangleIfExpr(comma.Right.Loc, &js_ast.EIf{Test: comma.Right, Yes: left, No: right}))}
		js_parser.go#L7099: 						lastThrow = &js_ast.SThrow{Value: p.mangleIfExpr(prevS.Test.Loc, &js_ast.EIf{Test: prevS.Test, Yes: left, No: right})}
		js_parser.go#L7261: 		if value, status := p.substituteSingleUseSymbolInExpr(e.Test, ref, replacement, replacementCanBeRemoved); status != substituteContinue {
		js_parser.go#L7262: 			e.Test = value
		js_parser.go#L7675: 				Test: s.Test,
		js_parser.go#L7739: 	if comma, ok := e.Test.Data.(*js_ast.EBinary); ok && comma.Op == js_ast.BinOpComma {
		js_parser.go#L7741: 			Test: comma.Right,
		js_parser.go#L7748: 	if not, ok := e.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7749: 		e.Test = not.Value
		js_parser.go#L7755: 		if p.exprCanBeRemovedIfUnused(e.Test) {
		js_parser.go#L7760: 		return js_ast.JoinWithComma(e.Test, e.Yes)
		js_parser.go#L7768: 				return js_ast.Not(js_ast.Not(e.Test))
		js_parser.go#L7771: 				return js_ast.Not(e.Test)
		js_parser.go#L7776: 	if id, ok := e.Test.Data.(*js_ast.EIdentifier); ok {
		js_parser.go#L7779: 			return js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, e.Test, e.No)
		js_parser.go#L7784: 			return js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, e.Test, e.Yes)
		js_parser.go#L7790: 		e.Test = js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, e.Test, yesIf.Test)
		js_parser.go#L7797: 		e.Test = js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, e.Test, noIf.Test)
		js_parser.go#L7805: 			js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, e.Test, comma.Left),
		js_parser.go#L7813: 			js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, e.Test, comma.Left),
		js_parser.go#L7823: 			Left:  js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, e.Test, binary.Left),
		js_parser.go#L7833: 			Left:  js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, e.Test, binary.Left),
		js_parser.go#L7846: 			if p.exprCanBeRemovedIfUnused(e.Test) && p.exprCanBeRemovedIfUnused(y.Target) {
		js_parser.go#L7880: 		if binary, ok := e.Test.Data.(*js_ast.EBinary); ok {
		js_parser.go#L10825: 		e.Test = p.visitExpr(e.Test)
		js_parser.go#L10828: 			e.Test = p.simplifyBooleanExpr(e.Test)
		js_parser.go#L10832: 		if boolean, sideEffects, ok := toBooleanWithSideEffects(e.Test.Data); !ok {
		js_parser.go#L10848: 						return maybeJoinWithComma(p.simplifyUnusedExpr(e.Test), e.Yes), exprOut{}
		js_parser.go#L10855: 						return js_ast.JoinWithComma(js_ast.Expr{Loc: e.Test.Loc, Data: &js_ast.ENumber{}}, e.Yes), exprOut{}
		js_parser.go#L10871: 						return maybeJoinWithComma(p.simplifyUnusedExpr(e.Test), e.No), exprOut{}
		js_parser.go#L10878: 						return js_ast.JoinWithComma(js_ast.Expr{Loc: e.Test.Loc, Data: &js_ast.ENumber{}}, e.No), exprOut{}
		js_parser.go#L12322: 		return p.exprCanBeRemovedIfUnused(e.Test) && p.exprCanBeRemovedIfUnused(e.Yes) && p.exprCanBeRemovedIfUnused(e.No)
		js_parser.go#L12506: 			return p.simplifyUnusedExpr(e.Test)
		js_parser.go#L12511: 			return js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, e.Test, e.No)
		js_parser.go#L12516: 			return js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, e.Test, e.Yes)
		js_parser_lower.go#L718: 		Test: js_ast.Expr{Loc: loc, Data: &js_ast.EBinary{
		js_parser_lower.go#L868: 		Test: js_ast.Expr{Loc: loc, Data: &js_ast.EBinary{

	github.com/evanw/esbuild/internal/js_printer
		js_printer.go#L1625: 		p.printExpr(e.Test, js_ast.LConditional, flags&forbidIn)