- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for isAlias (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/types2/unify.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 unify if they have the same array length // and their element types unify.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0)