go/ast.Scope.Lookup (method)
6 uses
go/ast (current package)
resolve.go#L33: alt = altScope.Lookup(obj.Name)
resolve.go#L46: if obj := scope.Lookup(ident.Name); obj != nil {
scope.go#L34: func (s *Scope) Lookup(name string) *Object {
go/parser
parser.go#L109: ident.Obj = scope.Lookup(ident.Name)
parser.go#L190: if obj := s.Lookup(ident.Name); obj != nil {
parser.go#L2574: ident.Obj = p.pkgScope.Lookup(ident.Name) // also removes unresolved sentinel
![]() |
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. |