type go/types.Scope

54 uses

	go/types (current package)
		api.go#L273: 	Scopes map[ast.Node]*Scope
		check.go#L39: 	scope         *Scope                 // top-most scope for lookups
		check.go#L68: 	scope *Scope
		check.go#L570: func (check *Checker) recordScope(node ast.Node, scope *Scope) {
		decl.go#L23: func (check *Checker) declare(scope *Scope, id *ast.Ident, obj Object, pos token.Pos) {
		eval.go#L59: 	var scope *Scope
		labels.go#L94: func (check *Checker) blockBranches(all *Scope, parent *block, lstmt *ast.LabeledStmt, list []ast.Stmt) []*ast.BranchStmt {
		object.go#L19: 	Parent() *Scope // scope in which this object is declared; nil for methods and struct fields
		object.go#L49: 	setParent(*Scope)
		object.go#L83: 	parent    *Scope
		object.go#L126: func (obj *object) Parent() *Scope { return obj.parent }
		object.go#L154: func (obj *object) setParent(parent *Scope)   { obj.parent = parent }
		object.go#L347: func (obj *Func) Scope() *Scope { return obj.typ.(*Signature).scope }
		package.go#L16: 	scope    *Scope
		package.go#L42: func (pkg *Package) Scope() *Scope { return pkg.scope }
		resolver.go#L21: 	file      *Scope        // scope of file containing this declaration
		resolver.go#L230: 	var fileScopes []*Scope
		scope.go#L23: type Scope struct {
		scope.go#L24: 	parent   *Scope
		scope.go#L25: 	children []*Scope
		scope.go#L35: func NewScope(parent *Scope, pos, end token.Pos, comment string) *Scope {
		scope.go#L36: 	s := &Scope{parent, nil, 0, nil, pos, end, comment, false}
		scope.go#L46: func (s *Scope) Parent() *Scope { return s.parent }
		scope.go#L49: func (s *Scope) Len() int { return len(s.elems) }
		scope.go#L52: func (s *Scope) Names() []string {
		scope.go#L64: func (s *Scope) NumChildren() int { return len(s.children) }
		scope.go#L67: func (s *Scope) Child(i int) *Scope { return s.children[i] }
		scope.go#L71: func (s *Scope) Lookup(name string) Object {
		scope.go#L85: func (s *Scope) LookupParent(name string, pos token.Pos) (*Scope, Object) {
		scope.go#L99: func (s *Scope) Insert(obj Object) Object {
		scope.go#L118: func (s *Scope) _InsertLazy(name string, resolve func() Object) bool {
		scope.go#L126: func (s *Scope) insert(name string, obj Object) {
		scope.go#L139: func (s *Scope) squash(err func(obj, alt Object)) {
		scope.go#L172: func (s *Scope) Pos() token.Pos { return s.pos }
		scope.go#L173: func (s *Scope) End() token.Pos { return s.end }
		scope.go#L178: func (s *Scope) Contains(pos token.Pos) bool {
		scope.go#L187: func (s *Scope) Innermost(pos token.Pos) *Scope {
		scope.go#L214: func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
		scope.go#L235: func (s *Scope) String() string {
		scope.go#L244: 	parent  *Scope
		scope.go#L277: func (*lazyObject) Parent() *Scope                        { panic("unreachable") }
		scope.go#L290: func (*lazyObject) setParent(*Scope)                      { panic("unreachable") }
		signature.go#L24: 	scope    *Scope         // function scope for package-local and non-instantiated signatures; nil otherwise
		signature.go#L276: func (check *Checker) collectParams(scope *Scope, list *ast.FieldList, variadicOk bool) (params []*Var, variadic bool) {
		stmt.go#L61: func (check *Checker) usage(scope *Scope) {
		stmt.go#L366: 		defer func(scope *Scope) {
		universe.go#L17: var Universe *Scope

	golang.org/x/tools/go/packages
		packages.go#L1000: 		Scopes:     make(map[ast.Node]*types.Scope),

	golang.org/x/tools/internal/gcimporter
		ureader_yes.go#L733: func pkgScope(pkg *types.Package) *types.Scope {