go/ast.AssignStmt.Rhs (field)
15 uses
go/ast (current package)
ast.go#L649: Rhs []Expr
ast.go#L791: func (s *AssignStmt) End() token.Pos { return s.Rhs[len(s.Rhs)-1].End() }
walk.go#L207: walkExprList(v, n.Rhs)
go/parser
parser.go#L1695: as := &ast.AssignStmt{Lhs: x, TokPos: pos, Tok: tok, Rhs: y}
parser.go#L1985: if len(t.Lhs) == 1 && len(t.Rhs) == 1 && isTypeSwitchAssert(t.Rhs[0]) {
parser.go#L2090: as := &ast.AssignStmt{Lhs: lhs, TokPos: pos, Tok: tok, Rhs: []ast.Expr{rhs}}
parser.go#L2153: s2 = &ast.AssignStmt{Rhs: y}
parser.go#L2194: x := as.Rhs[0].(*ast.UnaryExpr).X
go/printer
nodes.go#L1280: if len(s.Lhs) > 1 && len(s.Rhs) > 1 {
nodes.go#L1285: p.exprList(s.TokPos, s.Rhs, depth, 0, token.NoPos, false)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L94: if x.Rhs != nil {
encode_ast.gen.go#L96: encode_slice_ast_Expr(e, x.Rhs)
encode_ast.gen.go#L125: decode_slice_ast_Expr(d, &x.Rhs)
 |
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. |