- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pkgScope (0.12 sec)
-
src/go/ast/resolve.go
p.declare(fileScope, pkgScope, obj) } } else if name != "_" { // declare imported package object in file scope // (do not re-use pkg in the file scope but create // a new object instead; the Decl field is different // for different files) obj := NewObj(Pkg, name) obj.Decl = spec obj.Data = pkg.Data p.declare(fileScope, pkgScope, obj) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 5.4K bytes - Viewed (0)