go/ast.TypeSpec.Type (field)
22 uses
go/ast (current package)
ast.go#L902: Type Expr // *Ident, *ParenExpr, *SelectorExpr, *StarExpr, or any of the *XxxTypes
ast.go#L934: func (s *TypeSpec) End() token.Pos { return s.Type.End() }
filter.go#L199: filterType(s.Type, f, export)
filter.go#L209: return filterType(s.Type, f, export)
walk.go#L318: Walk(v, n.Type)
go/doc
example.go#L245: ast.Inspect(s.Type, inspectFunc)
exports.go#L223: r.filterType(r.lookupType(s.Name.Name), s.Type)
filter.go#L37: switch t := v.Type.(type) {
reader.go#L361: list, typ.isStruct = fields(spec.Type)
go/parser
parser.go#L2394: spec.Type = p.parseType()
go/printer
nodes.go#L1596: p.expr(s.Type)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3161: if x.Type != nil {
encode_ast.gen.go#L3163: e.EncodeAny(x.Type)
encode_ast.gen.go#L3196: x.Type = d.DecodeAny().(ast.Expr)
golang.org/x/pkgsite/internal/godoc/dochtml
symbol.go#L193: st, ok := spec.Type.(*ast.StructType)
symbol.go#L228: if st, ok := spec.Type.(*ast.InterfaceType); ok {
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L616: switch tx := ts.Type.(type) {
synopsis.go#L73: return fmt.Sprintf("type %s%s%s", n.Name.Name, sep, OneLineNodeDepth(fset, n.Type, depth))
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L359: ast.Inspect(s.Type, inspectFunc)
exports.go#L223: r.filterType(r.lookupType(s.Name.Name), s.Type)
filter.go#L37: switch t := v.Type.(type) {
reader.go#L365: list, typ.isStruct = fields(spec.Type)
 |
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. |