go/ast.BlockStmt.End (method)
14 uses
go/ast (current package)
ast.go#L511: func (x *FuncLit) End() token.Pos { return x.Body.End() }
ast.go#L806: func (s *BlockStmt) End() token.Pos {
ast.go#L819: return s.Body.End()
ast.go#L827: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L828: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L835: func (s *SelectStmt) End() token.Pos { return s.Body.End() }
ast.go#L836: func (s *ForStmt) End() token.Pos { return s.Body.End() }
ast.go#L837: func (s *RangeStmt) End() token.Pos { return s.Body.End() }
ast.go#L999: return d.Body.End()
go/doc
example.go#L316: if body.Pos() <= c.Pos() && c.End() <= body.End() {
example.go#L438: pos, end := b.Pos(), b.End()
go/parser
parser.go#L2190: return &ast.BadStmt{From: pos, To: p.safePos(body.End())}
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L250: if body.Pos() <= c.Pos() && c.End() <= body.End() {
example.go#L555: pos, end := b.Pos(), b.End()
![]() |
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. |