go/ast.BlockStmt.End (method, view implemented interface methods)
13 uses
go/ast (current package)
ast.go#L539: func (x *FuncLit) End() token.Pos { return x.Body.End() }
ast.go#L832: func (s *BlockStmt) End() token.Pos {
ast.go#L845: return s.Body.End()
ast.go#L853: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L854: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L861: func (s *SelectStmt) End() token.Pos { return s.Body.End() }
ast.go#L862: func (s *ForStmt) End() token.Pos { return s.Body.End() }
ast.go#L863: func (s *RangeStmt) End() token.Pos { return s.Body.End() }
ast.go#L1022: return d.Body.End()
go/doc
example.go#L270: if body.Pos() <= c.Pos() && c.End() <= body.End() {
example.go#L597: pos, end := b.Pos(), b.End()
go/parser
parser.go#L2426: 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)