go/ast.ReturnStmt.Return (field)
7 uses
go/ast (current package)
ast.go#L666: Return token.Pos // position of "return" keyword
ast.go#L765: func (s *ReturnStmt) Pos() token.Pos { return s.Return }
ast.go#L798: return s.Return + 6 // len("return")
go/parser
parser.go#L1802: return &ast.ReturnStmt{Return: pos, Results: x}
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2533: if x.Return != 0 {
encode_ast.gen.go#L2535: e.EncodeInt(int64(x.Return))
encode_ast.gen.go#L2562: x.Return = token.Pos(d.DecodeInt())
![]() |
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. |