go/ast.AssignStmt.Lhs (field)
19 uses
go/ast (current package)
ast.go#L646: Lhs []Expr
ast.go#L762: func (s *AssignStmt) Pos() token.Pos { return s.Lhs[0].Pos() }
scope.go#L125: for _, x := range d.Lhs {
walk.go#L206: walkExprList(v, n.Lhs)
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#L2181: switch len(as.Lhs) {
parser.go#L2185: key = as.Lhs[0]
parser.go#L2187: key, value = as.Lhs[0], as.Lhs[1]
parser.go#L2189: p.errorExpected(as.Lhs[len(as.Lhs)-1].Pos(), "at most 2 expressions")
go/printer
nodes.go#L1280: if len(s.Lhs) > 1 && len(s.Rhs) > 1 {
nodes.go#L1283: p.exprList(s.Pos(), s.Lhs, depth, 0, s.TokPos, false)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L82: if x.Lhs != nil {
encode_ast.gen.go#L84: encode_slice_ast_Expr(e, x.Lhs)
encode_ast.gen.go#L119: decode_slice_ast_Expr(d, &x.Lhs)
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L701: for _, n := range node.Lhs {
 |
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. |