spec

package
v0.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BigInt - bound type - bigint
	BigInt = ConstKind(reflect.UnsafePointer + 1)
	// BigRat - bound type - bigrat
	BigRat = ConstKind(reflect.UnsafePointer + 2)
	// BigFloat - bound type - bigfloat
	BigFloat = ConstKind(reflect.UnsafePointer + 3)
	// ConstBoundRune - bound type: rune
	ConstBoundRune = reflect.Int32
	// ConstBoundString - bound type: string
	ConstBoundString = reflect.String
	// ConstUnboundInt - unbound int type
	ConstUnboundInt = ConstKind(reflect.UnsafePointer + 4)
	// ConstUnboundFloat - unbound float type
	ConstUnboundFloat = ConstKind(reflect.UnsafePointer + 5)
	// ConstUnboundComplex - unbound complex type
	ConstUnboundComplex = ConstKind(reflect.UnsafePointer + 6)
	// ConstUnboundPtr - nil: unbound ptr
	ConstUnboundPtr = ConstKind(reflect.UnsafePointer + 7)
)

Variables

This section is empty.

Functions

func IsConstBound

func IsConstBound(kind ConstKind) bool

IsConstBound checks a const is bound or not.

Types

type ConstKind

type ConstKind = reflect.Kind

A ConstKind represents the specific kind of type that a Type represents. The zero Kind is not a valid kind.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL