go/ast.BinaryExpr.X (field)
21 uses
go/ast (current package)
ast.go#L414: X Expr // left operand
ast.go#L512: func (x *BinaryExpr) Pos() token.Pos { return x.X.Pos() }
walk.go#L130: Walk(v, n.X)
go/doc
exports.go#L184: r.filterType(nil, t.X)
go/parser
parser.go#L1206: t.X = x
parser.go#L1876: x = &ast.BinaryExpr{X: x, OpPos: pos, Op: op, Y: y}
parser.go#L2688: if name, _ := x.X.(*ast.Ident); name != nil && (force || isTypeElem(x.Y)) {
parser.go#L2693: if name, lhs := extractName(x.X, force || isTypeElem(x.Y)); name != nil && lhs != nil {
parser.go#L2696: op.X = lhs
parser.go#L2724: return isTypeElem(x.X) || isTypeElem(x.Y)
go/printer
nodes.go#L412: return combinesWithName(x.X) && !isTypeElem(x.Y)
nodes.go#L428: return isTypeElem(x.X) || isTypeElem(x.Y)
nodes.go#L658: switch l := e.X.(type) {
nodes.go#L783: p.expr1(x.X, prec, depth+diffPrec(x.X, prec))
go/types
expr.go#L295: check.updateExprType(x.X, typ, final)
expr.go#L298: check.updateExprType(x.X, typ, final)
expr.go#L1130: check.binary(x, e, e.X, e.Y, e.Op, e.OpPos)
exprstring.go#L121: WriteExpr(buf, x.X)
union.go#L195: blist, tlist = flattenUnion(list, o.X)
gotest.tools/v3/internal/assert
assert.go#L119: x, err := source.FormatNode(binaryExpr.X)