github.com/go-xe2/third@v1.0.3/golang.org/x/text/internal/number/common.go (about) 1 // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 3 package number 4 5 import "unicode/utf8" 6 7 // A system identifies a CLDR numbering system. 8 type system byte 9 10 type systemData struct { 11 id system 12 digitSize byte // number of UTF-8 bytes per digit 13 zero [utf8.UTFMax]byte // UTF-8 sequence of zero digit. 14 } 15 16 // A SymbolType identifies a symbol of a specific kind. 17 type SymbolType int 18 19 const ( 20 SymDecimal SymbolType = iota 21 SymGroup 22 SymList 23 SymPercentSign 24 SymPlusSign 25 SymMinusSign 26 SymExponential 27 SymSuperscriptingExponent 28 SymPerMille 29 SymInfinity 30 SymNan 31 SymTimeSeparator 32 33 NumSymbolTypes 34 ) 35 36 type altSymData struct { 37 compactTag uint16 38 system system 39 symIndex byte 40 }