go/ast.BlockStmt.End (method, view implemented interface methods)
13 uses
go/ast (current package)
ast.go#L546: func (x *FuncLit) End() token.Pos { return x.Body.End() }
ast.go#L839: func (s *BlockStmt) End() token.Pos {
ast.go#L852: return s.Body.End()
ast.go#L860: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L861: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L868: func (s *SelectStmt) End() token.Pos { return s.Body.End() }
ast.go#L869: func (s *ForStmt) End() token.Pos { return s.Body.End() }
ast.go#L870: func (s *RangeStmt) End() token.Pos { return s.Body.End() }
ast.go#L1029: return d.Body.End()
go/doc
example.go#L272: if body.Pos() <= c.Pos() && c.End() <= body.End() {
example.go#L599: pos, end := b.Pos(), b.End()
go/parser
parser.go#L2416: return &ast.BadStmt{From: pos, To: body.End()}
go/types
labels.go#L17: all := NewScope(nil, body.Pos(), body.End(), "label")
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)