type go/ast.BinaryExpr
22 uses
go/ast (current package)
ast.go#L389: BinaryExpr struct {
ast.go#L488: func (x *BinaryExpr) Pos() token.Pos { return x.X.Pos() }
ast.go#L521: func (x *BinaryExpr) End() token.Pos { return x.Y.End() }
ast.go#L552: func (*BinaryExpr) exprNode() {}
walk.go#L145: case *BinaryExpr:
go/parser
parser.go#L1398: case *ast.BinaryExpr:
parser.go#L1623: x = &ast.BinaryExpr{X: p.checkExpr(x), OpPos: pos, Op: op, Y: p.checkExpr(y)}
go/printer
nodes.go#L572: func walkBinary(e *ast.BinaryExpr) (has4, has5 bool, maxProblem int) {
nodes.go#L581: case *ast.BinaryExpr:
nodes.go#L596: case *ast.BinaryExpr:
nodes.go#L627: func cutoff(e *ast.BinaryExpr, depth int) int {
nodes.go#L645: x, ok := expr.(*ast.BinaryExpr)
nodes.go#L696: func (p *printer) binaryExpr(x *ast.BinaryExpr, prec1, cutoff, depth int) {
nodes.go#L736: _, ok := expr.(*ast.BinaryExpr)
nodes.go#L750: case *ast.BinaryExpr:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L371: func encode_ast_BinaryExpr(e *codec.Encoder, x *ast.BinaryExpr) {
encode_ast.gen.go#L394: func decode_ast_BinaryExpr(d *codec.Decoder, p **ast.BinaryExpr) {
encode_ast.gen.go#L400: *p = ref.(*ast.BinaryExpr)
encode_ast.gen.go#L403: var x ast.BinaryExpr
encode_ast.gen.go#L427: codec.Register(&ast.BinaryExpr{},
encode_ast.gen.go#L428: func(e *codec.Encoder, x interface{}) { encode_ast_BinaryExpr(e, x.(*ast.BinaryExpr)) },
encode_ast.gen.go#L430: var x *ast.BinaryExpr
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |