go/ast.Scope.Insert (method)

4 uses

	go/ast (current package)
		resolve.go#L30: 	alt := scope.Insert(obj)
		scope.go#L43: func (s *Scope) Insert(obj *Object) (alt *Object) {

	go/parser
		parser.go#L129: 			if alt := scope.Insert(obj); alt != nil && p.mode&DeclarationErrors != 0 {
		parser.go#L153: 				if alt := p.topScope.Insert(obj); alt != nil {