Lines Matching defs:Type

13 func isBoolean(t Type) bool        { return isBasic(t, IsBoolean) }
14 func isInteger(t Type) bool { return isBasic(t, IsInteger) }
15 func isUnsigned(t Type) bool { return isBasic(t, IsUnsigned) }
16 func isFloat(t Type) bool { return isBasic(t, IsFloat) }
17 func isComplex(t Type) bool { return isBasic(t, IsComplex) }
18 func isNumeric(t Type) bool { return isBasic(t, IsNumeric) }
19 func isString(t Type) bool { return isBasic(t, IsString) }
20 func isIntegerOrFloat(t Type) bool { return isBasic(t, IsInteger|IsFloat) }
21 func isConstType(t Type) bool { return isBasic(t, IsConstType) }
26 func isBasic(t Type, info BasicInfo) bool {
37 func allBoolean(t Type) bool { return allBasic(t, IsBoolean) }
38 func allInteger(t Type) bool { return allBasic(t, IsInteger) }
39 func allUnsigned(t Type) bool { return allBasic(t, IsUnsigned) }
40 func allNumeric(t Type) bool { return allBasic(t, IsNumeric) }
41 func allString(t Type) bool { return allBasic(t, IsString) }
42 func allOrdered(t Type) bool { return allBasic(t, IsOrdered) }
43 func allNumericOrString(t Type) bool { return allBasic(t, IsNumeric|IsString) }
49 func allBasic(t Type, info BasicInfo) bool {
59 func hasName(t Type) bool {
70 func isTyped(t Type) bool {
78 func isUntyped(t Type) bool {
83 func IsInterface(t Type) bool {
89 func isTypeParam(t Type) bool {
97 func isGeneric(t Type) bool {
104 func Comparable(T Type) bool {
108 func comparable(T Type, seen map[Type]bool) bool {
140 func hasNil(t Type) bool {
165 func identical(x, y Type, cmpTags bool, p *ifacePair) bool {
415 func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool {
432 func Default(t Type) Type {