go/ast.Object.Name (field)
12 uses
go/ast (current package)
resolve.go#L33: alt = altScope.Lookup(obj.Name)
resolve.go#L40: p.error(obj.Pos(), fmt.Sprintf("%s redeclared in this block%s", obj.Name, prevDecl))
resolve.go#L128: name := pkg.Name
scope.go#L44: if alt = s.Objects[obj.Name]; alt == nil {
scope.go#L45: s.Objects[obj.Name] = obj
scope.go#L57: fmt.Fprintf(&buf, "\t%s %s\n", obj.Kind, obj.Name)
scope.go#L78: Name string // declared name
scope.go#L86: return &Object{Kind: kind, Name: name}
scope.go#L93: name := obj.Name
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3657: if x.Name != "" {
encode_ast.gen.go#L3659: e.EncodeString(x.Name)
encode_ast.gen.go#L3696: x.Name = d.DecodeString()
![]() |
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. |