go/ast.CompositeLit.Lbrace (field)
9 uses
go/ast (current package)
ast.go#L314: Lbrace token.Pos // position of "{"
ast.go#L478: return x.Lbrace
go/parser
parser.go#L1373: return &ast.CompositeLit{Type: typ, Lbrace: lbrace, Elts: elts, Rbrace: rbrace}
go/printer
nodes.go#L912: p.print(x.Lbrace, token.LBRACE)
nodes.go#L913: p.exprList(x.Lbrace, x.Elts, 1, commaTerm, x.Rbrace, x.Incomplete)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L946: if x.Lbrace != 0 {
encode_ast.gen.go#L948: e.EncodeInt(int64(x.Lbrace))
encode_ast.gen.go#L985: x.Lbrace = token.Pos(d.DecodeInt())
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L557: addComment(pcg, n.Lbrace, fmt.Sprintf("/* %d elements not displayed */", len(n.Elts)))
 |
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. |