go/parser.parser.pkgScope (field)
6 uses
go/parser (current package)
interface.go#L216: p.pkgScope = p.topScope
parser.go#L62: pkgScope *ast.Scope // pkgScope.Outer == nil
parser.go#L2485: p.declare(decl, nil, p.pkgScope, ast.Fun, ident)
parser.go#L2550: p.pkgScope = p.topScope
parser.go#L2574: ident.Obj = p.pkgScope.Lookup(ident.Name) // also removes unresolved sentinel
parser.go#L2586: Scope: p.pkgScope,
![]() |
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. |