go/ast.CompositeLit.Rbrace (field)
8 uses
go/ast (current package)
ast.go#L316: Rbrace token.Pos // position of "}"
ast.go#L512: func (x *CompositeLit) End() token.Pos { return x.Rbrace + 1 }
go/parser
parser.go#L1373: return &ast.CompositeLit{Type: typ, Lbrace: lbrace, Elts: elts, Rbrace: rbrace}
go/printer
nodes.go#L913: p.exprList(x.Lbrace, x.Elts, 1, commaTerm, x.Rbrace, x.Incomplete)
nodes.go#L925: p.print(indent, unindent, mode, x.Rbrace, token.RBRACE, mode)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L954: if x.Rbrace != 0 {
encode_ast.gen.go#L956: e.EncodeInt(int64(x.Rbrace))
encode_ast.gen.go#L989: x.Rbrace = token.Pos(d.DecodeInt())
 |
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. |