Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for paramList (0.15 sec)

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

    	}).describef(obj, "validType(%s)", obj.Name())
    
    	// First type parameter, or nil.
    	var tparam0 *syntax.Field
    	if len(tdecl.TParamList) > 0 {
    		tparam0 = tdecl.TParamList[0]
    	}
    
    	// alias declaration
    	if tdecl.Alias {
    		// Report highest version requirement first so that fixing a version issue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typestring.go

    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    	case *TypeParam:
    		if t.obj == nil {
    			w.error("unnamed type parameter")
    			break
    		}
    		if i := tparamIndex(w.tparams.list(), t); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/go/types/typestring.go

    			// instantiated type
    			w.typeList(t.inst.targs.list())
    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    	case *TypeParam:
    		if t.obj == nil {
    			w.error("unnamed type parameter")
    			break
    		}
    		if i := tparamIndex(w.tparams.list(), t); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/object.go

    		case *Basic:
    			// Don't print anything more for basic types since there's
    			// no more information.
    			return
    		case *Named:
    			if t.TypeParams().Len() > 0 {
    				newTypeWriter(buf, qf).tParamList(t.TypeParams().list())
    			}
    		}
    		if tname.IsAlias() {
    			buf.WriteString(" =")
    			if alias, ok := typ.(*Alias); ok { // materialized? (gotypesalias=1)
    				typ = alias.fromRHS
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. src/go/types/object.go

    		case *Basic:
    			// Don't print anything more for basic types since there's
    			// no more information.
    			return
    		case *Named:
    			if t.TypeParams().Len() > 0 {
    				newTypeWriter(buf, qf).tParamList(t.TypeParams().list())
    			}
    		}
    		if tname.IsAlias() {
    			buf.WriteString(" =")
    			if alias, ok := typ.(*Alias); ok { // materialized? (gotypesalias=1)
    				typ = alias.fromRHS
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top