go/ast.BinaryExpr.Op (field)

25 uses

	go/ast (current package)
		ast.go#L416: 		Op    token.Token // operator

	go/doc
		exports.go#L183: 		if t.Op == token.OR { // union

	go/parser
		parser.go#L1204: 		t.Op = token.OR
		parser.go#L1876: 		x = &ast.BinaryExpr{X: x, OpPos: pos, Op: op, Y: y}
		parser.go#L2686: 		switch x.Op {

	go/printer
		nodes.go#L651: 	switch e.Op.Precedence() {
		nodes.go#L660: 		if l.Op.Precedence() < e.Op.Precedence() {
		nodes.go#L673: 		if r.Op.Precedence() <= e.Op.Precedence() {
		nodes.go#L684: 		if e.Op == token.QUO { // `*/`
		nodes.go#L689: 		switch e.Op.String() + r.Op.String() {
		nodes.go#L718: 	if !ok || prec != x.Op.Precedence() {
		nodes.go#L769: 	prec := x.Op.Precedence()
		nodes.go#L790: 	p.print(x.Op)

	go/types
		decl.go#L720: 		wrap = op.Op == token.OR
		expr.go#L104: 		if int(e.Op) < len(op2str2) {
		expr.go#L105: 			return op2str2[e.Op]
		expr.go#L289: 		if isComparison(x.Op) {
		expr.go#L292: 		} else if isShift(x.Op) {
		expr.go#L1130: 		check.binary(x, e, e.X, e.Y, e.Op, e.OpPos)
		exprstring.go#L123: 		buf.WriteString(x.Op.String())
		union.go#L194: 	if o, _ := x.(*ast.BinaryExpr); o != nil && o.Op == token.OR {

	golang.org/x/tools/internal/typesinternal
		zerovalue.go#L379: 					Op: token.OR,

	gotest.tools/v3/internal/assert
		assert.go#L127: 		switch binaryExpr.Op {