Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/go/doc/reader.go

    	list, typ.isStruct = fields(spec.Type)
    	for _, field := range list {
    		if len(field.Names) == 0 {
    			r.recordAnonymousField(typ, field.Type)
    		}
    	}
    }
    
    // isPredeclared reports whether n denotes a predeclared type.
    func (r *reader) isPredeclared(n string) bool {
    	return predeclaredTypes[n] && r.types[n] == nil
    }
    
    // readFunc processes a func or method declaration.
    func (r *reader) readFunc(fun *ast.FuncDecl) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. src/go/doc/exports.go

    		// which are not filtered for top-level function declarations.
    		if name := s.Name.Name; token.IsExported(name) {
    			r.filterType(r.lookupType(s.Name.Name), s.Type)
    			return true
    		} else if IsPredeclared(name) {
    			if r.shadowedPredecl == nil {
    				r.shadowedPredecl = make(map[string]bool)
    			}
    			r.shadowedPredecl[name] = 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)
  3. api/go1.8.txt

    pkg expvar, method (*Float) Value() float64
    pkg expvar, method (Func) Value() interface{}
    pkg expvar, method (*Int) Value() int64
    pkg expvar, method (*String) Value() string
    pkg go/doc, func IsPredeclared(string) bool
    pkg go/types, func Default(Type) Type
    pkg go/types, func IdenticalIgnoreTags(Type, Type) bool
    pkg math/big, method (*Float) Scan(fmt.ScanState, int32) error
    pkg math/big, method (*Int) Sqrt(*Int) *Int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Func.Examples", Field, 14},
    		{"Func.Level", Field, 0},
    		{"Func.Name", Field, 0},
    		{"Func.Orig", Field, 0},
    		{"Func.Recv", Field, 0},
    		{"IllegalPrefixes", Var, 1},
    		{"IsPredeclared", Func, 8},
    		{"Mode", Type, 0},
    		{"New", Func, 0},
    		{"NewFromFiles", Func, 14},
    		{"Note", Type, 1},
    		{"Note.Body", Field, 1},
    		{"Note.End", Field, 1},
    		{"Note.Pos", Field, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top