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

55 uses

	github.com/evanw/esbuild/internal/js_ast (current package)
		js_ast.go#L393: 	Op    OpCode
		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#L788: 		return e.Op == UnOpNot || e.Op == UnOpDelete
		js_ast.go#L817: 		switch e.Op {
		js_ast.go#L856: 		return e.Op == UnOpTypeof

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L673: 		switch e.Op {
		js_parser.go#L738: 		switch e.Op {
		js_parser.go#L838: 		switch e.Op {
		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#L3910: 				if e, ok := left.Data.(*js_ast.EUnary); ok && e.Op == js_ast.UnOpNot {
		js_parser.go#L3927: 				if e, ok := left.Data.(*js_ast.EUnary); ok && e.Op == js_ast.UnOpNot {
		js_parser.go#L7024: 					if not, ok := prevS.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7088: 					if not, ok := prevS.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7222: 		switch e.Op {
		js_parser.go#L7572: 			if unary, ok := ifS.Test.Data.(*js_ast.EUnary); ok && unary.Op == js_ast.UnOpNot {
		js_parser.go#L7663: 			if not, ok := s.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7692: 			if not, ok := s.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7703: 			if not, ok := s.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7719: 			if not, ok := s.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L7748: 	if not, ok := e.Test.Data.(*js_ast.EUnary); ok && not.Op == js_ast.UnOpNot {
		js_parser.go#L9268: 	if typeof, ok := a.Data.(*js_ast.EUnary); ok && typeof.Op == js_ast.UnOpTypeof {
		js_parser.go#L9526: 		if e.Op == js_ast.UnOpNot {
		js_parser.go#L9528: 			if e2, ok2 := e.Value.Data.(*js_ast.EUnary); ok2 && e2.Op == js_ast.UnOpNot {
		js_parser.go#L10589: 		switch e.Op {
		js_parser.go#L10594: 			e.Value, _ = p.visitExprInOut(e.Value, exprIn{assignTarget: e.Op.UnaryAssignTarget()})
		js_parser.go#L10669: 			e.Value, _ = p.visitExprInOut(e.Value, exprIn{assignTarget: e.Op.UnaryAssignTarget()})
		js_parser.go#L10672: 			switch e.Op {
		js_parser.go#L10729: 		if p.options.mangleSyntax && e.Op != js_ast.UnOpDelete && e.Op != js_ast.UnOpTypeof {
		js_parser.go#L10734: 						Op:    e.Op,
		js_parser.go#L12369: 		switch e.Op {
		js_parser.go#L12520: 		switch e.Op {
		js_parser_lower.go#L703: 				Op:    js_ast.UnOpDelete,
		js_parser_lower.go#L1029: 		Op:    js_ast.UnOpPos,

	github.com/evanw/esbuild/internal/js_printer
		js_printer.go#L2004: 		entry := js_ast.OpTable[e.Op]
		js_printer.go#L2011: 		if !e.Op.IsPrefix() {
		js_printer.go#L2020: 			p.printSpaceBeforeOperator(e.Op)
		js_printer.go#L2022: 			p.prevOp = e.Op
		js_printer.go#L2026: 		if e.Op.IsPrefix() {
		js_printer.go#L2072: 			if left, ok := e.Left.Data.(*js_ast.EUnary); ok && left.Op.UnaryAssignTarget() == js_ast.AssignTargetNone {