github.com/evanw/esbuild/internal/js_ast.EUnary.Value (field)

76 uses

	github.com/evanw/esbuild/internal/js_ast (current package)
		js_ast.go#L394: 	Value Expr
		js_ast.go#L710: 	return Expr{Loc: expr.Loc, Data: &EUnary{Op: UnOpNot, Value: expr}}
		js_ast.go#L740: 		if e.Op == UnOpNot && IsBooleanValue(e.Value) {
		js_ast.go#L741: 			return e.Value, true

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L747: 			if boolean, sideEffects, ok := toBooleanWithSideEffects(e.Value.Data); ok {
		js_parser.go#L944: 		if b, ok := right.(*js_ast.EUnary); ok && a.Op == b.Op && valuesLookTheSame(a.Value.Data, b.Value.Data) {
		js_parser.go#L2824: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpVoid, Value: value}}
		js_parser.go#L2832: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpTypeof, Value: value}}
		js_parser.go#L2847: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpDelete, Value: value}}
		js_parser.go#L2855: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpPos, Value: value}}
		js_parser.go#L2863: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpNeg, Value: value}}
		js_parser.go#L2871: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpCpl, Value: value}}
		js_parser.go#L2879: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpNot, Value: value}}
		js_parser.go#L2883: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpPreDec, Value: p.parseExpr(js_ast.LPrefix)}}
		js_parser.go#L2887: 		return js_ast.Expr{Loc: loc, Data: &js_ast.EUnary{Op: js_ast.UnOpPreInc, Value: p.parseExpr(js_ast.LPrefix)}}
		js_parser.go#L3577: 			left = js_ast.Expr{Loc: left.Loc, Data: &js_ast.EUnary{Op: js_ast.UnOpPostDec, Value: left}}
		js_parser.go#L3584: 			left = js_ast.Expr{Loc: left.Loc, Data: &js_ast.EUnary{Op: js_ast.UnOpPostInc, Value: left}}
		js_parser.go#L7025: 						prevS.Test = not.Value
		js_parser.go#L7089: 						prevS.Test = not.Value
		js_parser.go#L7227: 			if value, status := p.substituteSingleUseSymbolInExpr(e.Value, ref, replacement, replacementCanBeRemoved); status != substituteContinue {
		js_parser.go#L7228: 				e.Value = value
		js_parser.go#L7573: 				not = unary.Value
		js_parser.go#L7666: 					Value: js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, not.Value, yes.Value)}})
		js_parser.go#L7695: 					Value: js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, not.Value, no.Value)}})
		js_parser.go#L7705: 				s.Test = not.Value
		js_parser.go#L7721: 				s.Test = not.Value
		js_parser.go#L7749: 		e.Test = not.Value
		js_parser.go#L9528: 			if e2, ok2 := e.Value.Data.(*js_ast.EUnary); ok2 && e2.Op == js_ast.UnOpNot {
		js_parser.go#L9529: 				return p.simplifyBooleanExpr(e2.Value)
		js_parser.go#L9532: 			e.Value = p.simplifyBooleanExpr(e.Value)
		js_parser.go#L10591: 			p.typeofTarget = e.Value.Data
		js_parser.go#L10593: 			_, idBefore := e.Value.Data.(*js_ast.EIdentifier)
		js_parser.go#L10594: 			e.Value, _ = p.visitExprInOut(e.Value, exprIn{assignTarget: e.Op.UnaryAssignTarget()})
		js_parser.go#L10595: 			id, idAfter := e.Value.Data.(*js_ast.EIdentifier)
		js_parser.go#L10600: 				e.Value = js_ast.JoinWithComma(js_ast.Expr{Loc: e.Value.Loc, Data: &js_ast.ENumber{}}, e.Value)
		js_parser.go#L10605: 				if id, ok := e.Value.Data.(*js_ast.EIdentifier); ok && id.Ref == p.requireRef {
		js_parser.go#L10612: 			if typeof, ok := typeofWithoutSideEffects(e.Value.Data); ok {
		js_parser.go#L10619: 			switch e2 := e.Value.Data.(type) {
		js_parser.go#L10629: 				p.markStrictModeFeature(deleteBareName, js_lexer.RangeOfIdentifier(p.source, e.Value.Loc), "")
		js_parser.go#L10636: 			p.deleteTarget = e.Value.Data
		js_parser.go#L10637: 			canBeDeletedBefore := canBeDeleted(e.Value)
		js_parser.go#L10638: 			value, out := p.visitExprInOut(e.Value, exprIn{hasChainParent: true})
		js_parser.go#L10639: 			e.Value = value
		js_parser.go#L10640: 			canBeDeletedAfter := canBeDeleted(e.Value)
		js_parser.go#L10665: 				e.Value = js_ast.JoinWithComma(js_ast.Expr{Loc: e.Value.Loc, Data: &js_ast.ENumber{}}, e.Value)
		js_parser.go#L10669: 			e.Value, _ = p.visitExprInOut(e.Value, exprIn{assignTarget: e.Op.UnaryAssignTarget()})
		js_parser.go#L10675: 					e.Value = p.simplifyBooleanExpr(e.Value)
		js_parser.go#L10678: 				if boolean, sideEffects, ok := toBooleanWithSideEffects(e.Value.Data); ok && sideEffects == noSideEffects {
		js_parser.go#L10683: 					if result, ok := js_ast.MaybeSimplifyNot(e.Value); ok {
		js_parser.go#L10689: 				if p.exprCanBeRemovedIfUnused(e.Value) {
		js_parser.go#L10694: 				if number, ok := toNumberWithoutSideEffects(e.Value.Data); ok {
		js_parser.go#L10699: 				if number, ok := toNumberWithoutSideEffects(e.Value.Data); ok {
		js_parser.go#L10707: 				if target, loc, private := p.extractPrivateIndex(e.Value); private != nil {
		js_parser.go#L10712: 				if target, loc, private := p.extractPrivateIndex(e.Value); private != nil {
		js_parser.go#L10717: 				if target, loc, private := p.extractPrivateIndex(e.Value); private != nil {
		js_parser.go#L10722: 				if target, loc, private := p.extractPrivateIndex(e.Value); private != nil {
		js_parser.go#L10730: 			if comma, ok := e.Value.Data.(*js_ast.EBinary); ok && comma.Op == js_ast.BinOpComma {
		js_parser.go#L10735: 						Value: comma.Right,
		js_parser.go#L12373: 			return p.exprCanBeRemovedIfUnused(e.Value)
		js_parser.go#L12524: 			return p.simplifyUnusedExpr(e.Value)
		js_parser.go#L12527: 			if _, ok := e.Value.Data.(*js_ast.EIdentifier); ok {
		js_parser.go#L12533: 			return p.simplifyUnusedExpr(e.Value)
		js_parser_lower.go#L503: 			expr = e.Value
		js_parser_lower.go#L704: 				Value: result,
		js_parser_lower.go#L1030: 		Value: p.lowerPrivateGet(targetFunc(), loc, private),

	github.com/evanw/esbuild/internal/js_printer
		js_printer.go#L2012: 			p.printExpr(e.Value, js_ast.LPostfix-1, 0)
		js_printer.go#L2027: 			p.printExpr(e.Value, js_ast.LPrefix-1, 0)