type go/ast.ReturnStmt
15 uses
go/ast (current package)
ast.go#L665: ReturnStmt struct {
ast.go#L765: func (s *ReturnStmt) Pos() token.Pos { return s.Return }
ast.go#L794: func (s *ReturnStmt) End() token.Pos {
ast.go#L852: func (*ReturnStmt) stmtNode() {}
walk.go#L215: case *ReturnStmt:
go/parser
parser.go#L1789: func (p *parser) parseReturnStmt() *ast.ReturnStmt {
parser.go#L1802: return &ast.ReturnStmt{Return: pos, Results: x}
go/printer
nodes.go#L1295: case *ast.ReturnStmt:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2529: func encode_ast_ReturnStmt(e *codec.Encoder, x *ast.ReturnStmt) {
encode_ast.gen.go#L2544: func decode_ast_ReturnStmt(d *codec.Decoder, p **ast.ReturnStmt) {
encode_ast.gen.go#L2550: *p = ref.(*ast.ReturnStmt)
encode_ast.gen.go#L2553: var x ast.ReturnStmt
encode_ast.gen.go#L2573: codec.Register(&ast.ReturnStmt{},
encode_ast.gen.go#L2574: func(e *codec.Encoder, x interface{}) { encode_ast_ReturnStmt(e, x.(*ast.ReturnStmt)) },
encode_ast.gen.go#L2576: var x *ast.ReturnStmt
![]() |
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. |