go/ast.CompositeLit.Type (field)
13 uses
go/ast (current package)
ast.go#L313: Type Expr // literal type; or nil
ast.go#L475: if x.Type != nil {
ast.go#L476: return x.Type.Pos()
walk.go#L101: if n.Type != nil {
walk.go#L102: Walk(v, n.Type)
go/parser
parser.go#L1373: return &ast.CompositeLit{Type: typ, Lbrace: lbrace, Elts: elts, Rbrace: rbrace}
go/printer
nodes.go#L908: if x.Type != nil {
nodes.go#L909: p.expr1(x.Type, token.HighestPrec, depth)
nodes.go#L1142: if isTypeName(x.Type) {
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L942: if x.Type != nil {
encode_ast.gen.go#L944: e.EncodeAny(x.Type)
encode_ast.gen.go#L983: x.Type = d.DecodeAny().(ast.Expr)
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
synopsis.go#L127: typ := OneLineNodeDepth(fset, n.Type, depth)
![]() |
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. |