go/ast.BlockStmt.End (method, view implemented interface methods)
15 uses
go/ast (current package)
ast.go#L525: func (x *FuncLit) End() token.Pos { return x.Body.End() }
ast.go#L822: func (s *BlockStmt) End() token.Pos {
ast.go#L835: return s.Body.End()
ast.go#L843: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L844: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L851: func (s *SelectStmt) End() token.Pos { return s.Body.End() }
ast.go#L852: func (s *ForStmt) End() token.Pos { return s.Body.End() }
ast.go#L853: func (s *RangeStmt) End() token.Pos { return s.Body.End() }
ast.go#L1016: return d.Body.End()
go/doc
example.go#L319: if body.Pos() <= c.Pos() && c.End() <= body.End() {
example.go#L441: pos, end := b.Pos(), b.End()
go/parser
parser.go#L2402: return &ast.BadStmt{From: pos, To: p.safePos(body.End())}
go/types
labels.go#L15: all := NewScope(nil, body.Pos(), body.End(), "label")
stmt.go#L24: check.trace(body.End(), "--- <end>")
stmt.go#L30: sig.scope.end = body.End()
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)