type go/ast.BlockStmt
42 uses
go/ast (current package)
ast.go#L308: Body *BlockStmt // function body
ast.go#L680: BlockStmt struct {
ast.go#L691: Body *BlockStmt
ast.go#L708: Body *BlockStmt // CaseClauses only
ast.go#L716: Body *BlockStmt // CaseClauses only
ast.go#L730: Body *BlockStmt // CommClauses only
ast.go#L739: Body *BlockStmt
ast.go#L749: Body *BlockStmt
ast.go#L767: func (s *BlockStmt) Pos() token.Pos { return s.Lbrace }
ast.go#L806: func (s *BlockStmt) End() token.Pos {
ast.go#L854: func (*BlockStmt) stmtNode() {}
ast.go#L980: Body *BlockStmt // function body; or nil for external (non-Go) function
walk.go#L223: case *BlockStmt:
go/doc
example.go#L116: func exampleOutput(b *ast.BlockStmt, comments []*ast.CommentGroup) (output string, unordered, ok bool) {
example.go#L414: func stripOutputComment(body *ast.BlockStmt, comments []*ast.CommentGroup) (*ast.BlockStmt, []*ast.CommentGroup) {
example.go#L422: newBody := &ast.BlockStmt{
example.go#L434: func lastComment(b *ast.BlockStmt, c []*ast.CommentGroup) (i int, last *ast.CommentGroup) {
go/parser
parser.go#L1086: func (p *parser) parseBody(scope *ast.Scope) *ast.BlockStmt {
parser.go#L1099: return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L1102: func (p *parser) parseBlockStmt() *ast.BlockStmt {
parser.go#L1113: return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L2048: body := &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L2128: body := &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L2450: var body *ast.BlockStmt
go/printer
nodes.go#L1114: func (p *printer) block(b *ast.BlockStmt, nindent int) {
nodes.go#L1322: case *ast.BlockStmt:
nodes.go#L1332: case *ast.BlockStmt, *ast.IfStmt:
nodes.go#L1693: func (p *printer) bodySize(b *ast.BlockStmt, maxSize int) int {
nodes.go#L1724: func (p *printer) funcBody(headerSize int, sep whiteSpace, b *ast.BlockStmt) {
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L438: func encode_ast_BlockStmt(e *codec.Encoder, x *ast.BlockStmt) {
encode_ast.gen.go#L457: func decode_ast_BlockStmt(d *codec.Decoder, p **ast.BlockStmt) {
encode_ast.gen.go#L463: *p = ref.(*ast.BlockStmt)
encode_ast.gen.go#L466: var x ast.BlockStmt
encode_ast.gen.go#L488: codec.Register(&ast.BlockStmt{},
encode_ast.gen.go#L489: func(e *codec.Encoder, x interface{}) { encode_ast_BlockStmt(e, x.(*ast.BlockStmt)) },
encode_ast.gen.go#L491: var x *ast.BlockStmt
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L116: func exampleOutput(b *ast.BlockStmt, comments []*ast.CommentGroup) (output string, unordered, ok bool) {
example.go#L531: func stripOutputComment(body *ast.BlockStmt, comments []*ast.CommentGroup) (*ast.BlockStmt, []*ast.CommentGroup) {
example.go#L539: newBody := &ast.BlockStmt{
example.go#L551: func lastComment(b *ast.BlockStmt, c []*ast.CommentGroup) (i int, last *ast.CommentGroup) {
 |
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. |