Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for typesSummary (0.14 sec)

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

    		res = append(res, x.typ)
    	}
    	return res
    }
    
    // typesSummary returns a string of the form "(t1, t2, ...)" where the
    // ti's are user-friendly string representations for the given types.
    // If variadic is set and the last type is a slice, its string is of
    // the form "...E" where E is the slice's element type.
    func (check *Checker) typesSummary(list []Type, variadic bool) string {
    	var res []string
    	for i, t := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/go/types/assignments.go

    		res = append(res, x.typ)
    	}
    	return res
    }
    
    // typesSummary returns a string of the form "(t1, t2, ...)" where the
    // ti's are user-friendly string representations for the given types.
    // If variadic is set and the last type is a slice, its string is of
    // the form "...E" where E is the slice's element type.
    func (check *Checker) typesSummary(list []Type, variadic bool) string {
    	var res []string
    	for i, t := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/go/types/call.go

    			params = sig.params.vars
    		}
    		err := check.newError(WrongArgCount)
    		err.addf(at, "%s arguments in call to %s", qualifier, call.Fun)
    		err.addf(noposn, "have %s", check.typesSummary(operandTypes(args), false))
    		err.addf(noposn, "want %s", check.typesSummary(varTypes(params), sig.variadic))
    		err.report()
    		return
    	}
    
    	// collect type parameters of callee and generic function arguments
    	var tparams []*TypeParam
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/call.go

    			params = sig.params.vars
    		}
    		err := check.newError(WrongArgCount)
    		err.addf(at, "%s arguments in call to %s", qualifier, call.Fun)
    		err.addf(nopos, "have %s", check.typesSummary(operandTypes(args), false))
    		err.addf(nopos, "want %s", check.typesSummary(varTypes(params), sig.variadic))
    		err.report()
    		return
    	}
    
    	// collect type parameters of callee and generic function arguments
    	var tparams []*TypeParam
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/css/javadoc.css

    .overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab,
    .typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab {
        padding-top:0px;
        padding-left:0px;
        padding-right:0px;
        background-image:none;
        float:none;
        display:inline;
    }
    .overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 14:25:49 UTC 2024
    - 50.5K bytes
    - Viewed (0)
  6. src/cmd/doc/pkg.go

    		if isExported(fun.Name) {
    			if showConstructors || !pkg.constructor[fun] {
    				pkg.Printf("%s\n", pkg.oneLineNode(fun.Decl))
    			}
    		}
    	}
    }
    
    // typeSummary prints a one-line summary for each type, followed by its constructors.
    func (pkg *Package) typeSummary() {
    	for _, typ := range pkg.doc.Types {
    		for _, spec := range typ.Decl.Specs {
    			typeSpec := spec.(*ast.TypeSpec) // Must succeed.
    			if isExported(typeSpec.Name.Name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top