Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for isAlias (0.2 sec)

  1. src/go/types/decl.go

    			// this information explicitly in the object.
    			var alias bool
    			if check.conf._EnableAlias {
    				alias = obj.IsAlias()
    			} else {
    				if d := check.objMap[obj]; d != nil {
    					alias = d.tdecl.Assign.IsValid() // package-level object
    				} else {
    					alias = obj.IsAlias() // function local object
    				}
    			}
    			if !alias {
    				ndef++
    			}
    		case *Func:
    			// ignored for now
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/decl.go

    			// this information explicitly in the object.
    			var alias bool
    			if check.conf.EnableAlias {
    				alias = obj.IsAlias()
    			} else {
    				if d := check.objMap[obj]; d != nil {
    					alias = d.tdecl.Alias // package-level object
    				} else {
    					alias = obj.IsAlias() // function local object
    				}
    			}
    			if !alias {
    				ndef++
    			}
    		case *Func:
    			// ignored for now
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/mono.go

    	// parameters that it's implicitly parameterized by.
    	for scope := obj.Parent(); scope != root; scope = scope.Parent() {
    		for _, elem := range scope.elems {
    			if elem, ok := elem.(*TypeName); ok && !elem.IsAlias() && cmpPos(elem.Pos(), obj.Pos()) < 0 {
    				if tpar, ok := elem.Type().(*TypeParam); ok {
    					if idx < 0 {
    						idx = len(w.vertices)
    						w.vertices = append(w.vertices, monoVertex{obj: obj})
    					}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/go/types/mono.go

    	// parameters that it's implicitly parameterized by.
    	for scope := obj.Parent(); scope != root; scope = scope.Parent() {
    		for _, elem := range scope.elems {
    			if elem, ok := elem.(*TypeName); ok && !elem.IsAlias() && cmpPos(elem.Pos(), obj.Pos()) < 0 {
    				if tpar, ok := elem.Type().(*TypeParam); ok {
    					if idx < 0 {
    						idx = len(w.vertices)
    						w.vertices = append(w.vertices, monoVertex{obj: obj})
    					}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublication.java

        }
    
        @Override
        public void descriptor(Action<? super IvyModuleDescriptorSpec> configure) {
            configure.execute(descriptor);
        }
    
        @Override
        public boolean isAlias() {
            return alias;
        }
    
        @Override
        public void setAlias(boolean alias) {
            this.alias = alias;
        }
    
        @Override
        public void from(SoftwareComponent component) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  6. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublication.java

            moduleDescriptorGenerator = null;
        }
    
    
        @Override
        public void pom(Action<? super MavenPom> configure) {
            configure.execute(pom);
        }
    
        @Override
        public boolean isAlias() {
            return alias;
        }
    
        @Override
        public void setAlias(boolean alias) {
            this.alias = alias;
        }
    
        @Override
        public void from(SoftwareComponent component) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. api/go1.9.txt

    pkg encoding/csv, type Reader struct, ReuseRecord bool
    pkg encoding/json, func Valid([]uint8) bool
    pkg go/ast, type TypeSpec struct, Assign token.Pos
    pkg go/types, func SizesFor(string, string) Sizes
    pkg go/types, method (*TypeName) IsAlias() bool
    pkg hash/fnv, func New128() hash.Hash
    pkg hash/fnv, func New128a() hash.Hash
    pkg html/template, const ErrPredefinedEscaper = 11
    pkg html/template, const ErrPredefinedEscaper ErrorCode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/predicates.go

    	}
    
    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    		// Two array types are identical if they have identical element types
    		// and the same array length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/go/types/predicates.go

    	}
    
    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    		// Two array types are identical if they have identical element types
    		// and the same array length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    		tname, ok := o.(*types.TypeName)
    		if !ok {
    			continue // handle non-types in second pass
    		}
    
    		path := append(empty, o.Name()...)
    		path = append(path, opType)
    
    		T := o.Type()
    
    		if tname.IsAlias() {
    			// type alias
    			if r := find(obj, T, path, nil); r != nil {
    				return Path(r), nil
    			}
    		} else {
    			if named, _ := T.(*types.Named); named != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top