func go/ast.NewScope
13 uses
go/ast (current package)
resolve.go#L80: pkgScope := NewScope(universe)
resolve.go#L110: fileScope := NewScope(pkgScope)
scope.go#L25: func NewScope(outer *Scope) *Scope {
go/doc
doc.go#L218: pkg.Data = ast.NewScope(nil) // required by ast.NewPackage for dot-import
go/parser
interface.go#L107: Scope: ast.NewScope(nil),
parser.go#L92: p.topScope = ast.NewScope(p.topScope)
parser.go#L100: p.labelScope = ast.NewScope(p.labelScope)
parser.go#L764: scope := ast.NewScope(nil) // struct scope
parser.go#L934: scope := ast.NewScope(p.topScope) // function scope
parser.go#L952: scope := ast.NewScope(nil) // method scope
parser.go#L975: scope := ast.NewScope(nil) // interface scope
parser.go#L2439: scope := ast.NewScope(p.topScope) // function scope
golang.org/x/pkgsite/internal/godoc/internal/doc
doc.go#L229: pkg.Data = ast.NewScope(nil) // required by ast.NewPackage for dot-import
![]() |
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. |