type go/ast.Object
38 uses
go/ast (current package)
ast.go#L281: Obj *Object // denoted object; or nil
ast.go#L1058: Imports map[string]*Object // map of package id -> package object
resolve.go#L29: func (p *pkgBuilder) declare(scope, altScope *Scope, obj *Object) {
resolve.go#L63: type Importer func(imports map[string]*Object, path string) (pkg *Object, err error)
resolve.go#L98: imports := make(map[string]*Object)
scope.go#L21: Objects map[string]*Object
scope.go#L27: return &Scope{outer, make(map[string]*Object, n)}
scope.go#L34: func (s *Scope) Lookup(name string) *Object {
scope.go#L43: func (s *Scope) Insert(obj *Object) (alt *Object) {
scope.go#L76: type Object struct {
scope.go#L85: func NewObj(kind ObjKind, name string) *Object {
scope.go#L86: return &Object{Kind: kind, Name: name}
scope.go#L92: func (obj *Object) Pos() token.Pos {
go/doc
doc.go#L213: func simpleImporter(imports map[string]*ast.Object, path string) (*ast.Object, error) {
example.go#L162: topDecls := make(map[*ast.Object]ast.Decl)
go/parser
parser.go#L171: var unresolved = new(ast.Object)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3649: func encode_ast_Object(e *codec.Encoder, x *ast.Object) {
encode_ast.gen.go#L3676: func decode_ast_Object(d *codec.Decoder, p **ast.Object) {
encode_ast.gen.go#L3682: *p = ref.(*ast.Object)
encode_ast.gen.go#L3685: var x ast.Object
encode_ast.gen.go#L3711: codec.Register(&ast.Object{},
encode_ast.gen.go#L3712: func(e *codec.Encoder, x interface{}) { encode_ast_Object(e, x.(*ast.Object)) },
encode_ast.gen.go#L3714: var x *ast.Object
encode_ast.gen.go#L3720: func encode_map_string_ast_Object(e *codec.Encoder, m map[string]*ast.Object) {
encode_ast.gen.go#L3732: func decode_map_string_ast_Object(d *codec.Decoder, p *map[string]*ast.Object) {
encode_ast.gen.go#L3738: m := make(map[string]*ast.Object, n)
encode_ast.gen.go#L3740: var v *ast.Object
encode_ast.gen.go#L3750: codec.Register(map[string]*ast.Object(nil),
encode_ast.gen.go#L3751: func(e *codec.Encoder, x interface{}) { encode_map_string_ast_Object(e, x.(map[string]*ast.Object)) },
encode_ast.gen.go#L3753: var x map[string]*ast.Object
golang.org/x/pkgsite/internal/godoc/internal/doc
doc.go#L225: func simpleImporter(imports map[string]*ast.Object, path string) (*ast.Object, error) {
example.go#L162: topDecls := make(map[*ast.Object]ast.Decl)
example.go#L303: func findDeclsAndUnresolved(body ast.Node, topDecls map[*ast.Object]ast.Decl, typMethods map[string][]ast.Decl) ([]ast.Decl, map[string]bool) {
example.go#L307: objs := map[*ast.Object]bool{}
 |
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. |