go/ast.ReturnStmt.Results (field)
12 uses
go/ast (current package)
ast.go#L667: Results []Expr // result expressions; or nil
ast.go#L795: if n := len(s.Results); n > 0 {
ast.go#L796: return s.Results[n-1].End()
walk.go#L216: walkExprList(v, n.Results)
go/parser
parser.go#L1802: return &ast.ReturnStmt{Return: pos, Results: x}
go/printer
nodes.go#L1297: if s.Results != nil {
nodes.go#L1304: if p.indentList(s.Results) {
nodes.go#L1308: p.exprList(token.NoPos, s.Results, 1, noIndent, token.NoPos, false)
nodes.go#L1311: p.exprList(token.NoPos, s.Results, 1, 0, token.NoPos, false)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2537: if x.Results != nil {
encode_ast.gen.go#L2539: encode_slice_ast_Expr(e, x.Results)
encode_ast.gen.go#L2564: decode_slice_ast_Expr(d, &x.Results)
 |
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. |