go/parser.parser.topScope (field)

16 uses

	go/parser (current package)
		interface.go#L216: 	p.pkgScope = p.topScope
		interface.go#L219: 	assert(p.topScope == nil, "unbalanced scopes")
		parser.go#L63: 	topScope   *ast.Scope        // top-most scope; may be pkgScope
		parser.go#L92: 	p.topScope = ast.NewScope(p.topScope)
		parser.go#L96: 	p.topScope = p.topScope.Outer
		parser.go#L153: 				if alt := p.topScope.Insert(obj); alt != nil {
		parser.go#L189: 	for s := p.topScope; s != nil; s = s.Outer {
		parser.go#L934: 	scope := ast.NewScope(p.topScope) // function scope
		parser.go#L1092: 	p.topScope = scope // open function scope
		parser.go#L2372: 	p.declare(spec, iota, p.topScope, kind, idents...)
		parser.go#L2389: 	p.declare(spec, nil, p.topScope, ast.Typ, ident)
		parser.go#L2439: 	scope := ast.NewScope(p.topScope) // function scope
		parser.go#L2550: 	p.pkgScope = p.topScope
		parser.go#L2566: 	assert(p.topScope == nil, "unbalanced scopes")