Documentation
¶
Index ¶
- func IsArray(typ Type) bool
- func IsBasic(typ Type) bool
- func IsBoolean(typ Type) bool
- func IsComplex(typ Type) bool
- func IsFloat(typ Type) bool
- func IsFunction(typ Type) bool
- func IsInstantiable(typ Type) bool
- func IsInteger(typ Type) bool
- func IsInterface(typ Type) bool
- func IsMap(typ Type) bool
- func IsNumber(typ Type) bool
- func IsPointer(typ Type) bool
- func IsSignedInteger(typ Type) bool
- func IsSlice(typ Type) bool
- func IsString(typ Type) bool
- func IsStruct(typ Type) bool
- func IsUnsignedInteger(typ Type) bool
- type Array
- type BitSize
- type Boolean
- type Chan
- type ChanDirection
- type Complex
- type Entry
- type Field
- type Float
- type Function
- type Instantiable
- type Interface
- type Map
- type Pointer
- type SignedInteger
- type Slice
- type String
- type Struct
- type Tag
- type Tags
- type Type
- type UnsignedInteger
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFunction ¶
func IsInstantiable ¶
func IsInterface ¶
func IsSignedInteger ¶
func IsUnsignedInteger ¶
Types ¶
type Array ¶
type Boolean ¶
type Chan ¶
type Chan interface {
Direction() ChanDirection
}
type Complex ¶
type Float ¶
type Function ¶
type Function interface {
Type
IsExported() bool
Receiver() (Type, bool)
HasReceiver() bool
Parameters() []Type
NumParameter() int
Results() []Type
NumResult() int
}
func ToFunction ¶
type Instantiable ¶
type Instantiable interface {
Instantiate() Value
}
func ToInstantiable ¶
func ToInstantiable(typ Type) (Instantiable, bool)
type Interface ¶
func ToInterface ¶
type Map ¶
type SignedInteger ¶
type SignedInteger interface {
Type
Instantiable
BitSize() BitSize
CanSet() bool
Value() (int64, error)
SetValue(v int64) error
Overflow(v int64) bool
}
func ToSignedInteger ¶
func ToSignedInteger(typ Type) (SignedInteger, bool)
type Slice ¶
type String ¶
type Struct ¶
type Type ¶
type UnsignedInteger ¶
type UnsignedInteger interface {
Type
Instantiable
BitSize() BitSize
CanSet() bool
Value() (uint64, error)
SetValue(v uint64) error
Overflow(v uint64) bool
}
func ToUnsignedInteger ¶
func ToUnsignedInteger(typ Type) (UnsignedInteger, bool)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.