Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for resolveBaseTypeName (0.47 sec)

  1. src/cmd/compile/internal/types2/resolver.go

    		rname = name
    	}
    
    	return
    }
    
    // resolveBaseTypeName returns the non-alias base type name for typ, and whether
    // there was a pointer indirection to get to it. The base type name must be declared
    // in package scope, and there can be at most one pointer indirection. If no such type
    // name exists, the returned base is nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    		rname = name
    	}
    
    	return
    }
    
    // resolveBaseTypeName returns the non-alias base type name for typ, and whether
    // there was a pointer indirection to get to it. The base type name must be declared
    // in package scope, and there can be at most one pointer indirection. If no such type
    // name exists, the returned base is nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/decl.go

    	return tpar
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    		return
    	}
    	delete(check.methods, obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/go/types/decl.go

    	}
    
    	return tparams
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    		return
    	}
    	delete(check.methods, obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top