Lines Matching defs:Type

15 func isBoolean(t Type) bool        { return isBasic(t, IsBoolean) }
16 func isInteger(t Type) bool { return isBasic(t, IsInteger) }
17 func isUnsigned(t Type) bool { return isBasic(t, IsUnsigned) }
18 func isFloat(t Type) bool { return isBasic(t, IsFloat) }
19 func isComplex(t Type) bool { return isBasic(t, IsComplex) }
20 func isNumeric(t Type) bool { return isBasic(t, IsNumeric) }
21 func isString(t Type) bool { return isBasic(t, IsString) }
22 func isIntegerOrFloat(t Type) bool { return isBasic(t, IsInteger|IsFloat) }
23 func isConstType(t Type) bool { return isBasic(t, IsConstType) }
28 func isBasic(t Type, info BasicInfo) bool {
39 func allBoolean(typ Type) bool { return allBasic(typ, IsBoolean) }
40 func allInteger(typ Type) bool { return allBasic(typ, IsInteger) }
41 func allUnsigned(typ Type) bool { return allBasic(typ, IsUnsigned) }
42 func allNumeric(typ Type) bool { return allBasic(typ, IsNumeric) }
43 func allString(typ Type) bool { return allBasic(typ, IsString) }
44 func allOrdered(typ Type) bool { return allBasic(typ, IsOrdered) }
45 func allNumericOrString(typ Type) bool { return allBasic(typ, IsNumeric|IsString) }
51 func allBasic(t Type, info BasicInfo) bool {
61 func hasName(t Type) bool {
72 func isTyped(t Type) bool {
80 func isUntyped(t Type) bool {
85 func IsInterface(t Type) bool {
91 func isTypeParam(t Type) bool {
99 func isGeneric(t Type) bool {
106 func Comparable(T Type) bool {
110 func comparable(T Type, seen map[Type]bool) bool {
142 func hasNil(t Type) bool {
167 func identical(x, y Type, cmpTags bool, p *ifacePair) bool {
417 func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool {
434 func Default(t Type) Type {