go/ast.BlockStmt.End (method, view implemented interface methods)
13 uses
go/ast (current package)
ast.go#L535: func (x *FuncLit) End() token.Pos { return x.Body.End() }
ast.go#L828: func (s *BlockStmt) End() token.Pos {
ast.go#L841: return s.Body.End()
ast.go#L849: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L850: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L857: func (s *SelectStmt) End() token.Pos { return s.Body.End() }
ast.go#L858: func (s *ForStmt) End() token.Pos { return s.Body.End() }
ast.go#L859: func (s *RangeStmt) End() token.Pos { return s.Body.End() }
ast.go#L1018: return d.Body.End()
go/doc
example.go#L270: if body.Pos() <= c.Pos() && c.End() <= body.End() {
example.go#L600: pos, end := b.Pos(), b.End()
go/parser
parser.go#L2396: return &ast.BadStmt{From: pos, To: p.safePos(body.End())}
go/types
labels.go#L17: all := NewScope(nil, body.Pos(), body.End(), "label")
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)