go/ast.ExprStmt.X (field)
12 uses
go/ast (current package)
ast.go#L625: X Expr // expression
ast.go#L759: func (s *ExprStmt) Pos() token.Pos { return s.X.Pos() }
ast.go#L786: func (s *ExprStmt) End() token.Pos { return s.X.End() }
walk.go#L196: Walk(v, n.X)
go/parser
parser.go#L1744: return &ast.ExprStmt{X: x[0]}, false
parser.go#L1828: return p.checkExpr(es.X)
parser.go#L1982: return isTypeSwitchAssert(t.X)
parser.go#L2101: comm = &ast.ExprStmt{X: lhs[0]}
go/printer
nodes.go#L1265: p.expr0(s.X, depth)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1229: if x.X != nil {
encode_ast.gen.go#L1231: e.EncodeAny(x.X)
encode_ast.gen.go#L1254: x.X = d.DecodeAny().(ast.Expr)
![]() |
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. |