Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for IsExported (0.16 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/eclipse/DefaultEclipseClasspathContainer.java

        private final String path;
        private final boolean isExported;
    
        public DefaultEclipseClasspathContainer(String path, boolean isExported, List<DefaultClasspathAttribute> classpathAttributes, List<DefaultAccessRule> accessRules) {
            super(classpathAttributes, accessRules);
            this.path = path;
            this.isExported = isExported;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractLibrary.java

                return false;
            }
            if (!super.equals(o)) {
                return false;
            }
            AbstractLibrary that = (AbstractLibrary) o;
            return Objects.equal(isExported(), that.isExported())
                && Objects.equal(getAccessRules(), that.getAccessRules())
                && Objects.equal(getJavadocPath(), that.getJavadocPath())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/eclipse/DefaultEclipseDependency.java

        private final boolean isExported;
    
        public DefaultEclipseDependency(boolean isExported, List<DefaultClasspathAttribute> classpathAttributes, List<DefaultAccessRule> accessRules) {
            super(classpathAttributes, accessRules);
            this.isExported = isExported;
        }
    
        public boolean isExported() {
            return isExported;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/sym.go

    	// Exported symbols before non-exported.
    	ea := IsExported(a.Name)
    	eb := IsExported(b.Name)
    	if ea != eb {
    		return ea
    	}
    
    	// Order by name and then (for non-exported names) by package
    	// height and path.
    	if a.Name != b.Name {
    		return a.Name < b.Name
    	}
    	if !ea {
    		return a.Pkg.Path < b.Pkg.Path
    	}
    	return false
    }
    
    // IsExported reports whether name is an exported Go symbol (that is,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/go/doc/exports.go

    	for i, x := range list {
    		if token.IsExported(x.Name) {
    			hasExported = true
    		} else {
    			list[i] = underscore
    		}
    	}
    	return hasExported
    }
    
    // hasExportedName reports whether list contains any exported names.
    func hasExportedName(list []*ast.Ident) bool {
    	for _, x := range list {
    		if x.IsExported() {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  6. src/cmd/doc/pkg.go

    		values = append(values, typ.Vars...)
    		for _, value := range values {
    			for _, name := range value.Names {
    				if isExported(name) {
    					pkg.valueDoc(value, printed)
    					break
    				}
    			}
    		}
    		funcs := typ.Funcs
    		funcs = append(funcs, typ.Methods...)
    		for _, fun := range funcs {
    			if isExported(fun.Name) {
    				pkg.emit(fun.Doc, fun.Decl)
    				if fun.Doc == "" {
    					pkg.newlines(2)
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. src/go/types/errsupport.go

    		alt = obj.Name()
    		if obj.Pkg() == check.pkg {
    			assert(alt != sel) // otherwise there is no lookup error
    			e = misspelled
    		} else if isExported(sel) {
    			if isExported(alt) {
    				e = misspelled
    			} else if tail(sel) == tail(alt) {
    				e = unexported
    			}
    		} else if isExported(alt) {
    			if tail(sel) == tail(alt) {
    				e = misspelled
    			}
    		} else if sel == alt {
    			e = inaccessible
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/doc/main.go

    		usage()
    	}
    	symbol = elem[0]
    	return
    }
    
    // isExported reports whether the name is an exported identifier.
    // If the unexported flag (-u) is true, isExported returns true because
    // it means that we treat the name as if it is exported.
    func isExported(name string) bool {
    	return unexported || token.IsExported(name)
    }
    
    // findNextPackage returns the next full file name path that matches the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/reflect/export_test.go

    	}
    	return mname.Bytes
    }
    
    type OtherPkgFields struct {
    	OtherExported   int
    	otherUnexported int
    }
    
    func IsExported(t Type) bool {
    	typ := t.(*rtype)
    	n := typ.nameOff(typ.t.Str)
    	return n.IsExported()
    }
    
    func ResolveReflectName(s string) {
    	resolveReflectName(newName(s, "", false, false))
    }
    
    type Buffer struct {
    	buf []byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/errsupport.go

    		alt = obj.Name()
    		if obj.Pkg() == check.pkg {
    			assert(alt != sel) // otherwise there is no lookup error
    			e = misspelled
    		} else if isExported(sel) {
    			if isExported(alt) {
    				e = misspelled
    			} else if tail(sel) == tail(alt) {
    				e = unexported
    			}
    		} else if isExported(alt) {
    			if tail(sel) == tail(alt) {
    				e = misspelled
    			}
    		} else if sel == alt {
    			e = inaccessible
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top