go/ast.BlockStmt.Rbrace (field)
18 uses
go/ast (current package)
ast.go#L683: Rbrace token.Pos // position of "}", if any (may be absent due to syntax error)
ast.go#L807: if s.Rbrace.IsValid() {
ast.go#L808: return s.Rbrace + 1
go/doc
example.go#L425: Rbrace: last.Pos(),
go/parser
parser.go#L1099: return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
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}
go/printer
nodes.go#L1117: p.linebreak(p.lineFor(b.Rbrace), 1, ignore, true)
nodes.go#L1118: p.print(b.Rbrace, token.RBRACE)
nodes.go#L1384: if len(body.List) == 0 && !p.commentBefore(p.posFor(body.Rbrace)) {
nodes.go#L1386: p.print(body.Lbrace, token.LBRACE, body.Rbrace, token.RBRACE)
nodes.go#L1695: pos2 := b.Rbrace
nodes.go#L1748: p.print(noExtraLinebreak, b.Rbrace, token.RBRACE, noExtraLinebreak)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L450: if x.Rbrace != 0 {
encode_ast.gen.go#L452: e.EncodeInt(int64(x.Rbrace))
encode_ast.gen.go#L479: x.Rbrace = token.Pos(d.DecodeInt())
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L542: Rbrace: last.Pos(),
 |
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. |