Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for SetUnderlying (0.24 sec)

  1. src/go/internal/gccgoimporter/parser.go

    	underlying := p.parseType(pkg)
    	if nt.Underlying() == nil {
    		if underlying.Underlying() == nil {
    			fix := fixupRecord{toUpdate: nt, target: underlying}
    			p.fixups = append(p.fixups, fix)
    		} else {
    			nt.SetUnderlying(underlying.Underlying())
    		}
    	}
    
    	if p.tok == '\n' {
    		p.next()
    		// collect associated methods
    		for p.tok == scanner.Ident {
    			p.expectKeyword("func")
    			if p.tok == '/' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    		r.declare(obj)
    		if tag == 'U' {
    			tparams := r.tparamList()
    			named.SetTypeParams(tparams)
    		}
    
    		underlying := r.p.typAt(r.uint64(), named).Underlying()
    		named.SetUnderlying(underlying)
    
    		if !isInterface(underlying) {
    			for n := r.uint64(); n > 0; n-- {
    				mpos := r.pos()
    				mname := r.ident()
    				recv := r.param()
    
    				// If the receiver has any targs, set those as the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg go/types, method (*Named) AddMethod(*Func)
    pkg go/types, method (*Named) Method(int) *Func
    pkg go/types, method (*Named) NumMethods() int
    pkg go/types, method (*Named) Obj() *TypeName
    pkg go/types, method (*Named) SetUnderlying(Type)
    pkg go/types, method (*Named) String() string
    pkg go/types, method (*Named) Underlying() Type
    pkg go/types, method (*Nil) Exported() bool
    pkg go/types, method (*Nil) Id() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	}
    
    	n := ir.NewDeclNameAt(src.NoXPos, ir.OTYPE, ir.Pkgs.Runtime.Lookup("_defer"))
    	typ := types.NewNamed(n)
    	n.SetType(typ)
    	n.SetTypecheck(1)
    
    	// build struct holding the above fields
    	typ.SetUnderlying(types.NewStruct(fields))
    	types.CalcStructSize(typ)
    
    	deferType = typ
    	return typ
    }
    
    // SpillSlotAddr uses LocalSlot information to initialize an obj.Addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Named).Method", Method, 5},
    		{"(*Named).NumMethods", Method, 5},
    		{"(*Named).Obj", Method, 5},
    		{"(*Named).Origin", Method, 18},
    		{"(*Named).SetTypeParams", Method, 18},
    		{"(*Named).SetUnderlying", Method, 5},
    		{"(*Named).String", Method, 5},
    		{"(*Named).TypeArgs", Method, 18},
    		{"(*Named).TypeParams", Method, 18},
    		{"(*Named).Underlying", Method, 5},
    		{"(*Nil).Exported", Method, 5},
    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