github.com/goplus/igop@v0.25.0/pkg/unicode/go118_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.18 && !go1.19 4 // +build go1.18,!go1.19 5 6 package unicode 7 8 import ( 9 q "unicode" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "unicode", 20 Path: "unicode", 21 Deps: map[string]string{}, 22 Interfaces: map[string]reflect.Type{}, 23 NamedTypes: map[string]reflect.Type{ 24 "CaseRange": reflect.TypeOf((*q.CaseRange)(nil)).Elem(), 25 "Range16": reflect.TypeOf((*q.Range16)(nil)).Elem(), 26 "Range32": reflect.TypeOf((*q.Range32)(nil)).Elem(), 27 "RangeTable": reflect.TypeOf((*q.RangeTable)(nil)).Elem(), 28 "SpecialCase": reflect.TypeOf((*q.SpecialCase)(nil)).Elem(), 29 }, 30 AliasTypes: map[string]reflect.Type{}, 31 Vars: map[string]reflect.Value{ 32 "ASCII_Hex_Digit": reflect.ValueOf(&q.ASCII_Hex_Digit), 33 "Adlam": reflect.ValueOf(&q.Adlam), 34 "Ahom": reflect.ValueOf(&q.Ahom), 35 "Anatolian_Hieroglyphs": reflect.ValueOf(&q.Anatolian_Hieroglyphs), 36 "Arabic": reflect.ValueOf(&q.Arabic), 37 "Armenian": reflect.ValueOf(&q.Armenian), 38 "Avestan": reflect.ValueOf(&q.Avestan), 39 "AzeriCase": reflect.ValueOf(&q.AzeriCase), 40 "Balinese": reflect.ValueOf(&q.Balinese), 41 "Bamum": reflect.ValueOf(&q.Bamum), 42 "Bassa_Vah": reflect.ValueOf(&q.Bassa_Vah), 43 "Batak": reflect.ValueOf(&q.Batak), 44 "Bengali": reflect.ValueOf(&q.Bengali), 45 "Bhaiksuki": reflect.ValueOf(&q.Bhaiksuki), 46 "Bidi_Control": reflect.ValueOf(&q.Bidi_Control), 47 "Bopomofo": reflect.ValueOf(&q.Bopomofo), 48 "Brahmi": reflect.ValueOf(&q.Brahmi), 49 "Braille": reflect.ValueOf(&q.Braille), 50 "Buginese": reflect.ValueOf(&q.Buginese), 51 "Buhid": reflect.ValueOf(&q.Buhid), 52 "C": reflect.ValueOf(&q.C), 53 "Canadian_Aboriginal": reflect.ValueOf(&q.Canadian_Aboriginal), 54 "Carian": reflect.ValueOf(&q.Carian), 55 "CaseRanges": reflect.ValueOf(&q.CaseRanges), 56 "Categories": reflect.ValueOf(&q.Categories), 57 "Caucasian_Albanian": reflect.ValueOf(&q.Caucasian_Albanian), 58 "Cc": reflect.ValueOf(&q.Cc), 59 "Cf": reflect.ValueOf(&q.Cf), 60 "Chakma": reflect.ValueOf(&q.Chakma), 61 "Cham": reflect.ValueOf(&q.Cham), 62 "Cherokee": reflect.ValueOf(&q.Cherokee), 63 "Chorasmian": reflect.ValueOf(&q.Chorasmian), 64 "Co": reflect.ValueOf(&q.Co), 65 "Common": reflect.ValueOf(&q.Common), 66 "Coptic": reflect.ValueOf(&q.Coptic), 67 "Cs": reflect.ValueOf(&q.Cs), 68 "Cuneiform": reflect.ValueOf(&q.Cuneiform), 69 "Cypriot": reflect.ValueOf(&q.Cypriot), 70 "Cyrillic": reflect.ValueOf(&q.Cyrillic), 71 "Dash": reflect.ValueOf(&q.Dash), 72 "Deprecated": reflect.ValueOf(&q.Deprecated), 73 "Deseret": reflect.ValueOf(&q.Deseret), 74 "Devanagari": reflect.ValueOf(&q.Devanagari), 75 "Diacritic": reflect.ValueOf(&q.Diacritic), 76 "Digit": reflect.ValueOf(&q.Digit), 77 "Dives_Akuru": reflect.ValueOf(&q.Dives_Akuru), 78 "Dogra": reflect.ValueOf(&q.Dogra), 79 "Duployan": reflect.ValueOf(&q.Duployan), 80 "Egyptian_Hieroglyphs": reflect.ValueOf(&q.Egyptian_Hieroglyphs), 81 "Elbasan": reflect.ValueOf(&q.Elbasan), 82 "Elymaic": reflect.ValueOf(&q.Elymaic), 83 "Ethiopic": reflect.ValueOf(&q.Ethiopic), 84 "Extender": reflect.ValueOf(&q.Extender), 85 "FoldCategory": reflect.ValueOf(&q.FoldCategory), 86 "FoldScript": reflect.ValueOf(&q.FoldScript), 87 "Georgian": reflect.ValueOf(&q.Georgian), 88 "Glagolitic": reflect.ValueOf(&q.Glagolitic), 89 "Gothic": reflect.ValueOf(&q.Gothic), 90 "Grantha": reflect.ValueOf(&q.Grantha), 91 "GraphicRanges": reflect.ValueOf(&q.GraphicRanges), 92 "Greek": reflect.ValueOf(&q.Greek), 93 "Gujarati": reflect.ValueOf(&q.Gujarati), 94 "Gunjala_Gondi": reflect.ValueOf(&q.Gunjala_Gondi), 95 "Gurmukhi": reflect.ValueOf(&q.Gurmukhi), 96 "Han": reflect.ValueOf(&q.Han), 97 "Hangul": reflect.ValueOf(&q.Hangul), 98 "Hanifi_Rohingya": reflect.ValueOf(&q.Hanifi_Rohingya), 99 "Hanunoo": reflect.ValueOf(&q.Hanunoo), 100 "Hatran": reflect.ValueOf(&q.Hatran), 101 "Hebrew": reflect.ValueOf(&q.Hebrew), 102 "Hex_Digit": reflect.ValueOf(&q.Hex_Digit), 103 "Hiragana": reflect.ValueOf(&q.Hiragana), 104 "Hyphen": reflect.ValueOf(&q.Hyphen), 105 "IDS_Binary_Operator": reflect.ValueOf(&q.IDS_Binary_Operator), 106 "IDS_Trinary_Operator": reflect.ValueOf(&q.IDS_Trinary_Operator), 107 "Ideographic": reflect.ValueOf(&q.Ideographic), 108 "Imperial_Aramaic": reflect.ValueOf(&q.Imperial_Aramaic), 109 "Inherited": reflect.ValueOf(&q.Inherited), 110 "Inscriptional_Pahlavi": reflect.ValueOf(&q.Inscriptional_Pahlavi), 111 "Inscriptional_Parthian": reflect.ValueOf(&q.Inscriptional_Parthian), 112 "Javanese": reflect.ValueOf(&q.Javanese), 113 "Join_Control": reflect.ValueOf(&q.Join_Control), 114 "Kaithi": reflect.ValueOf(&q.Kaithi), 115 "Kannada": reflect.ValueOf(&q.Kannada), 116 "Katakana": reflect.ValueOf(&q.Katakana), 117 "Kayah_Li": reflect.ValueOf(&q.Kayah_Li), 118 "Kharoshthi": reflect.ValueOf(&q.Kharoshthi), 119 "Khitan_Small_Script": reflect.ValueOf(&q.Khitan_Small_Script), 120 "Khmer": reflect.ValueOf(&q.Khmer), 121 "Khojki": reflect.ValueOf(&q.Khojki), 122 "Khudawadi": reflect.ValueOf(&q.Khudawadi), 123 "L": reflect.ValueOf(&q.L), 124 "Lao": reflect.ValueOf(&q.Lao), 125 "Latin": reflect.ValueOf(&q.Latin), 126 "Lepcha": reflect.ValueOf(&q.Lepcha), 127 "Letter": reflect.ValueOf(&q.Letter), 128 "Limbu": reflect.ValueOf(&q.Limbu), 129 "Linear_A": reflect.ValueOf(&q.Linear_A), 130 "Linear_B": reflect.ValueOf(&q.Linear_B), 131 "Lisu": reflect.ValueOf(&q.Lisu), 132 "Ll": reflect.ValueOf(&q.Ll), 133 "Lm": reflect.ValueOf(&q.Lm), 134 "Lo": reflect.ValueOf(&q.Lo), 135 "Logical_Order_Exception": reflect.ValueOf(&q.Logical_Order_Exception), 136 "Lower": reflect.ValueOf(&q.Lower), 137 "Lt": reflect.ValueOf(&q.Lt), 138 "Lu": reflect.ValueOf(&q.Lu), 139 "Lycian": reflect.ValueOf(&q.Lycian), 140 "Lydian": reflect.ValueOf(&q.Lydian), 141 "M": reflect.ValueOf(&q.M), 142 "Mahajani": reflect.ValueOf(&q.Mahajani), 143 "Makasar": reflect.ValueOf(&q.Makasar), 144 "Malayalam": reflect.ValueOf(&q.Malayalam), 145 "Mandaic": reflect.ValueOf(&q.Mandaic), 146 "Manichaean": reflect.ValueOf(&q.Manichaean), 147 "Marchen": reflect.ValueOf(&q.Marchen), 148 "Mark": reflect.ValueOf(&q.Mark), 149 "Masaram_Gondi": reflect.ValueOf(&q.Masaram_Gondi), 150 "Mc": reflect.ValueOf(&q.Mc), 151 "Me": reflect.ValueOf(&q.Me), 152 "Medefaidrin": reflect.ValueOf(&q.Medefaidrin), 153 "Meetei_Mayek": reflect.ValueOf(&q.Meetei_Mayek), 154 "Mende_Kikakui": reflect.ValueOf(&q.Mende_Kikakui), 155 "Meroitic_Cursive": reflect.ValueOf(&q.Meroitic_Cursive), 156 "Meroitic_Hieroglyphs": reflect.ValueOf(&q.Meroitic_Hieroglyphs), 157 "Miao": reflect.ValueOf(&q.Miao), 158 "Mn": reflect.ValueOf(&q.Mn), 159 "Modi": reflect.ValueOf(&q.Modi), 160 "Mongolian": reflect.ValueOf(&q.Mongolian), 161 "Mro": reflect.ValueOf(&q.Mro), 162 "Multani": reflect.ValueOf(&q.Multani), 163 "Myanmar": reflect.ValueOf(&q.Myanmar), 164 "N": reflect.ValueOf(&q.N), 165 "Nabataean": reflect.ValueOf(&q.Nabataean), 166 "Nandinagari": reflect.ValueOf(&q.Nandinagari), 167 "Nd": reflect.ValueOf(&q.Nd), 168 "New_Tai_Lue": reflect.ValueOf(&q.New_Tai_Lue), 169 "Newa": reflect.ValueOf(&q.Newa), 170 "Nko": reflect.ValueOf(&q.Nko), 171 "Nl": reflect.ValueOf(&q.Nl), 172 "No": reflect.ValueOf(&q.No), 173 "Noncharacter_Code_Point": reflect.ValueOf(&q.Noncharacter_Code_Point), 174 "Number": reflect.ValueOf(&q.Number), 175 "Nushu": reflect.ValueOf(&q.Nushu), 176 "Nyiakeng_Puachue_Hmong": reflect.ValueOf(&q.Nyiakeng_Puachue_Hmong), 177 "Ogham": reflect.ValueOf(&q.Ogham), 178 "Ol_Chiki": reflect.ValueOf(&q.Ol_Chiki), 179 "Old_Hungarian": reflect.ValueOf(&q.Old_Hungarian), 180 "Old_Italic": reflect.ValueOf(&q.Old_Italic), 181 "Old_North_Arabian": reflect.ValueOf(&q.Old_North_Arabian), 182 "Old_Permic": reflect.ValueOf(&q.Old_Permic), 183 "Old_Persian": reflect.ValueOf(&q.Old_Persian), 184 "Old_Sogdian": reflect.ValueOf(&q.Old_Sogdian), 185 "Old_South_Arabian": reflect.ValueOf(&q.Old_South_Arabian), 186 "Old_Turkic": reflect.ValueOf(&q.Old_Turkic), 187 "Oriya": reflect.ValueOf(&q.Oriya), 188 "Osage": reflect.ValueOf(&q.Osage), 189 "Osmanya": reflect.ValueOf(&q.Osmanya), 190 "Other": reflect.ValueOf(&q.Other), 191 "Other_Alphabetic": reflect.ValueOf(&q.Other_Alphabetic), 192 "Other_Default_Ignorable_Code_Point": reflect.ValueOf(&q.Other_Default_Ignorable_Code_Point), 193 "Other_Grapheme_Extend": reflect.ValueOf(&q.Other_Grapheme_Extend), 194 "Other_ID_Continue": reflect.ValueOf(&q.Other_ID_Continue), 195 "Other_ID_Start": reflect.ValueOf(&q.Other_ID_Start), 196 "Other_Lowercase": reflect.ValueOf(&q.Other_Lowercase), 197 "Other_Math": reflect.ValueOf(&q.Other_Math), 198 "Other_Uppercase": reflect.ValueOf(&q.Other_Uppercase), 199 "P": reflect.ValueOf(&q.P), 200 "Pahawh_Hmong": reflect.ValueOf(&q.Pahawh_Hmong), 201 "Palmyrene": reflect.ValueOf(&q.Palmyrene), 202 "Pattern_Syntax": reflect.ValueOf(&q.Pattern_Syntax), 203 "Pattern_White_Space": reflect.ValueOf(&q.Pattern_White_Space), 204 "Pau_Cin_Hau": reflect.ValueOf(&q.Pau_Cin_Hau), 205 "Pc": reflect.ValueOf(&q.Pc), 206 "Pd": reflect.ValueOf(&q.Pd), 207 "Pe": reflect.ValueOf(&q.Pe), 208 "Pf": reflect.ValueOf(&q.Pf), 209 "Phags_Pa": reflect.ValueOf(&q.Phags_Pa), 210 "Phoenician": reflect.ValueOf(&q.Phoenician), 211 "Pi": reflect.ValueOf(&q.Pi), 212 "Po": reflect.ValueOf(&q.Po), 213 "Prepended_Concatenation_Mark": reflect.ValueOf(&q.Prepended_Concatenation_Mark), 214 "PrintRanges": reflect.ValueOf(&q.PrintRanges), 215 "Properties": reflect.ValueOf(&q.Properties), 216 "Ps": reflect.ValueOf(&q.Ps), 217 "Psalter_Pahlavi": reflect.ValueOf(&q.Psalter_Pahlavi), 218 "Punct": reflect.ValueOf(&q.Punct), 219 "Quotation_Mark": reflect.ValueOf(&q.Quotation_Mark), 220 "Radical": reflect.ValueOf(&q.Radical), 221 "Regional_Indicator": reflect.ValueOf(&q.Regional_Indicator), 222 "Rejang": reflect.ValueOf(&q.Rejang), 223 "Runic": reflect.ValueOf(&q.Runic), 224 "S": reflect.ValueOf(&q.S), 225 "STerm": reflect.ValueOf(&q.STerm), 226 "Samaritan": reflect.ValueOf(&q.Samaritan), 227 "Saurashtra": reflect.ValueOf(&q.Saurashtra), 228 "Sc": reflect.ValueOf(&q.Sc), 229 "Scripts": reflect.ValueOf(&q.Scripts), 230 "Sentence_Terminal": reflect.ValueOf(&q.Sentence_Terminal), 231 "Sharada": reflect.ValueOf(&q.Sharada), 232 "Shavian": reflect.ValueOf(&q.Shavian), 233 "Siddham": reflect.ValueOf(&q.Siddham), 234 "SignWriting": reflect.ValueOf(&q.SignWriting), 235 "Sinhala": reflect.ValueOf(&q.Sinhala), 236 "Sk": reflect.ValueOf(&q.Sk), 237 "Sm": reflect.ValueOf(&q.Sm), 238 "So": reflect.ValueOf(&q.So), 239 "Soft_Dotted": reflect.ValueOf(&q.Soft_Dotted), 240 "Sogdian": reflect.ValueOf(&q.Sogdian), 241 "Sora_Sompeng": reflect.ValueOf(&q.Sora_Sompeng), 242 "Soyombo": reflect.ValueOf(&q.Soyombo), 243 "Space": reflect.ValueOf(&q.Space), 244 "Sundanese": reflect.ValueOf(&q.Sundanese), 245 "Syloti_Nagri": reflect.ValueOf(&q.Syloti_Nagri), 246 "Symbol": reflect.ValueOf(&q.Symbol), 247 "Syriac": reflect.ValueOf(&q.Syriac), 248 "Tagalog": reflect.ValueOf(&q.Tagalog), 249 "Tagbanwa": reflect.ValueOf(&q.Tagbanwa), 250 "Tai_Le": reflect.ValueOf(&q.Tai_Le), 251 "Tai_Tham": reflect.ValueOf(&q.Tai_Tham), 252 "Tai_Viet": reflect.ValueOf(&q.Tai_Viet), 253 "Takri": reflect.ValueOf(&q.Takri), 254 "Tamil": reflect.ValueOf(&q.Tamil), 255 "Tangut": reflect.ValueOf(&q.Tangut), 256 "Telugu": reflect.ValueOf(&q.Telugu), 257 "Terminal_Punctuation": reflect.ValueOf(&q.Terminal_Punctuation), 258 "Thaana": reflect.ValueOf(&q.Thaana), 259 "Thai": reflect.ValueOf(&q.Thai), 260 "Tibetan": reflect.ValueOf(&q.Tibetan), 261 "Tifinagh": reflect.ValueOf(&q.Tifinagh), 262 "Tirhuta": reflect.ValueOf(&q.Tirhuta), 263 "Title": reflect.ValueOf(&q.Title), 264 "TurkishCase": reflect.ValueOf(&q.TurkishCase), 265 "Ugaritic": reflect.ValueOf(&q.Ugaritic), 266 "Unified_Ideograph": reflect.ValueOf(&q.Unified_Ideograph), 267 "Upper": reflect.ValueOf(&q.Upper), 268 "Vai": reflect.ValueOf(&q.Vai), 269 "Variation_Selector": reflect.ValueOf(&q.Variation_Selector), 270 "Wancho": reflect.ValueOf(&q.Wancho), 271 "Warang_Citi": reflect.ValueOf(&q.Warang_Citi), 272 "White_Space": reflect.ValueOf(&q.White_Space), 273 "Yezidi": reflect.ValueOf(&q.Yezidi), 274 "Yi": reflect.ValueOf(&q.Yi), 275 "Z": reflect.ValueOf(&q.Z), 276 "Zanabazar_Square": reflect.ValueOf(&q.Zanabazar_Square), 277 "Zl": reflect.ValueOf(&q.Zl), 278 "Zp": reflect.ValueOf(&q.Zp), 279 "Zs": reflect.ValueOf(&q.Zs), 280 }, 281 Funcs: map[string]reflect.Value{ 282 "In": reflect.ValueOf(q.In), 283 "Is": reflect.ValueOf(q.Is), 284 "IsControl": reflect.ValueOf(q.IsControl), 285 "IsDigit": reflect.ValueOf(q.IsDigit), 286 "IsGraphic": reflect.ValueOf(q.IsGraphic), 287 "IsLetter": reflect.ValueOf(q.IsLetter), 288 "IsLower": reflect.ValueOf(q.IsLower), 289 "IsMark": reflect.ValueOf(q.IsMark), 290 "IsNumber": reflect.ValueOf(q.IsNumber), 291 "IsOneOf": reflect.ValueOf(q.IsOneOf), 292 "IsPrint": reflect.ValueOf(q.IsPrint), 293 "IsPunct": reflect.ValueOf(q.IsPunct), 294 "IsSpace": reflect.ValueOf(q.IsSpace), 295 "IsSymbol": reflect.ValueOf(q.IsSymbol), 296 "IsTitle": reflect.ValueOf(q.IsTitle), 297 "IsUpper": reflect.ValueOf(q.IsUpper), 298 "SimpleFold": reflect.ValueOf(q.SimpleFold), 299 "To": reflect.ValueOf(q.To), 300 "ToLower": reflect.ValueOf(q.ToLower), 301 "ToTitle": reflect.ValueOf(q.ToTitle), 302 "ToUpper": reflect.ValueOf(q.ToUpper), 303 }, 304 TypedConsts: map[string]igop.TypedConst{}, 305 UntypedConsts: map[string]igop.UntypedConst{ 306 "LowerCase": {"untyped int", constant.MakeInt64(int64(q.LowerCase))}, 307 "MaxASCII": {"untyped rune", constant.MakeInt64(int64(q.MaxASCII))}, 308 "MaxCase": {"untyped int", constant.MakeInt64(int64(q.MaxCase))}, 309 "MaxLatin1": {"untyped rune", constant.MakeInt64(int64(q.MaxLatin1))}, 310 "MaxRune": {"untyped rune", constant.MakeInt64(int64(q.MaxRune))}, 311 "ReplacementChar": {"untyped rune", constant.MakeInt64(int64(q.ReplacementChar))}, 312 "TitleCase": {"untyped int", constant.MakeInt64(int64(q.TitleCase))}, 313 "UpperCase": {"untyped int", constant.MakeInt64(int64(q.UpperCase))}, 314 "UpperLower": {"untyped rune", constant.MakeInt64(int64(q.UpperLower))}, 315 "Version": {"untyped string", constant.MakeString(string(q.Version))}, 316 }, 317 }) 318 }