40 lines
730 B
Go
40 lines
730 B
Go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
|
|
|
package number
|
|
|
|
import "unicode/utf8"
|
|
|
|
// A system identifies a CLDR numbering system.
|
|
type system byte
|
|
|
|
type systemData struct {
|
|
id system
|
|
digitSize byte // number of UTF-8 bytes per digit
|
|
zero [utf8.UTFMax]byte // UTF-8 sequence of zero digit.
|
|
}
|
|
|
|
// A SymbolType identifies a symbol of a specific kind.
|
|
type SymbolType int
|
|
|
|
const (
|
|
SymDecimal SymbolType = iota
|
|
SymGroup
|
|
SymList
|
|
SymPercentSign
|
|
SymPlusSign
|
|
SymMinusSign
|
|
SymExponential
|
|
SymSuperscriptingExponent
|
|
SymPerMille
|
|
SymInfinity
|
|
SymNan
|
|
SymTimeSeparator
|
|
|
|
NumSymbolTypes
|
|
)
|
|
|
|
type altSymData struct {
|
|
compactTag uint16
|
|
system system
|
|
symIndex byte
|
|
}
|