github.com/goplus/igop@v0.25.0/pkg/unicode/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 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 "Cypro_Minoan": reflect.ValueOf(&q.Cypro_Minoan), 71 "Cyrillic": reflect.ValueOf(&q.Cyrillic), 72 "Dash": reflect.ValueOf(&q.Dash), 73 "Deprecated": reflect.ValueOf(&q.Deprecated), 74 "Deseret": reflect.ValueOf(&q.Deseret), 75 "Devanagari": reflect.ValueOf(&q.Devanagari), 76 "Diacritic": reflect.ValueOf(&q.Diacritic), 77 "Digit": reflect.ValueOf(&q.Digit), 78 "Dives_Akuru": reflect.ValueOf(&q.Dives_Akuru), 79 "Dogra": reflect.ValueOf(&q.Dogra), 80 "Duployan": reflect.ValueOf(&q.Duployan), 81 "Egyptian_Hieroglyphs": reflect.ValueOf(&q.Egyptian_Hieroglyphs), 82 "Elbasan": reflect.ValueOf(&q.Elbasan), 83 "Elymaic": reflect.ValueOf(&q.Elymaic), 84 "Ethiopic": reflect.ValueOf(&q.Ethiopic), 85 "Extender": reflect.ValueOf(&q.Extender), 86 "FoldCategory": reflect.ValueOf(&q.FoldCategory), 87 "FoldScript": reflect.ValueOf(&q.FoldScript), 88 "Georgian": reflect.ValueOf(&q.Georgian), 89 "Glagolitic": reflect.ValueOf(&q.Glagolitic), 90 "Gothic": reflect.ValueOf(&q.Gothic), 91 "Grantha": reflect.ValueOf(&q.Grantha), 92 "GraphicRanges": reflect.ValueOf(&q.GraphicRanges), 93 "Greek": reflect.ValueOf(&q.Greek), 94 "Gujarati": reflect.ValueOf(&q.Gujarati), 95 "Gunjala_Gondi": reflect.ValueOf(&q.Gunjala_Gondi), 96 "Gurmukhi": reflect.ValueOf(&q.Gurmukhi), 97 "Han": reflect.ValueOf(&q.Han), 98 "Hangul": reflect.ValueOf(&q.Hangul), 99 "Hanifi_Rohingya": reflect.ValueOf(&q.Hanifi_Rohingya), 100 "Hanunoo": reflect.ValueOf(&q.Hanunoo), 101 "Hatran": reflect.ValueOf(&q.Hatran), 102 "Hebrew": reflect.ValueOf(&q.Hebrew), 103 "Hex_Digit": reflect.ValueOf(&q.Hex_Digit), 104 "Hiragana": reflect.ValueOf(&q.Hiragana), 105 "Hyphen": reflect.ValueOf(&q.Hyphen), 106 "IDS_Binary_Operator": reflect.ValueOf(&q.IDS_Binary_Operator), 107 "IDS_Trinary_Operator": reflect.ValueOf(&q.IDS_Trinary_Operator), 108 "Ideographic": reflect.ValueOf(&q.Ideographic), 109 "Imperial_Aramaic": reflect.ValueOf(&q.Imperial_Aramaic), 110 "Inherited": reflect.ValueOf(&q.Inherited), 111 "Inscriptional_Pahlavi": reflect.ValueOf(&q.Inscriptional_Pahlavi), 112 "Inscriptional_Parthian": reflect.ValueOf(&q.Inscriptional_Parthian), 113 "Javanese": reflect.ValueOf(&q.Javanese), 114 "Join_Control": reflect.ValueOf(&q.Join_Control), 115 "Kaithi": reflect.ValueOf(&q.Kaithi), 116 "Kannada": reflect.ValueOf(&q.Kannada), 117 "Katakana": reflect.ValueOf(&q.Katakana), 118 "Kawi": reflect.ValueOf(&q.Kawi), 119 "Kayah_Li": reflect.ValueOf(&q.Kayah_Li), 120 "Kharoshthi": reflect.ValueOf(&q.Kharoshthi), 121 "Khitan_Small_Script": reflect.ValueOf(&q.Khitan_Small_Script), 122 "Khmer": reflect.ValueOf(&q.Khmer), 123 "Khojki": reflect.ValueOf(&q.Khojki), 124 "Khudawadi": reflect.ValueOf(&q.Khudawadi), 125 "L": reflect.ValueOf(&q.L), 126 "Lao": reflect.ValueOf(&q.Lao), 127 "Latin": reflect.ValueOf(&q.Latin), 128 "Lepcha": reflect.ValueOf(&q.Lepcha), 129 "Letter": reflect.ValueOf(&q.Letter), 130 "Limbu": reflect.ValueOf(&q.Limbu), 131 "Linear_A": reflect.ValueOf(&q.Linear_A), 132 "Linear_B": reflect.ValueOf(&q.Linear_B), 133 "Lisu": reflect.ValueOf(&q.Lisu), 134 "Ll": reflect.ValueOf(&q.Ll), 135 "Lm": reflect.ValueOf(&q.Lm), 136 "Lo": reflect.ValueOf(&q.Lo), 137 "Logical_Order_Exception": reflect.ValueOf(&q.Logical_Order_Exception), 138 "Lower": reflect.ValueOf(&q.Lower), 139 "Lt": reflect.ValueOf(&q.Lt), 140 "Lu": reflect.ValueOf(&q.Lu), 141 "Lycian": reflect.ValueOf(&q.Lycian), 142 "Lydian": reflect.ValueOf(&q.Lydian), 143 "M": reflect.ValueOf(&q.M), 144 "Mahajani": reflect.ValueOf(&q.Mahajani), 145 "Makasar": reflect.ValueOf(&q.Makasar), 146 "Malayalam": reflect.ValueOf(&q.Malayalam), 147 "Mandaic": reflect.ValueOf(&q.Mandaic), 148 "Manichaean": reflect.ValueOf(&q.Manichaean), 149 "Marchen": reflect.ValueOf(&q.Marchen), 150 "Mark": reflect.ValueOf(&q.Mark), 151 "Masaram_Gondi": reflect.ValueOf(&q.Masaram_Gondi), 152 "Mc": reflect.ValueOf(&q.Mc), 153 "Me": reflect.ValueOf(&q.Me), 154 "Medefaidrin": reflect.ValueOf(&q.Medefaidrin), 155 "Meetei_Mayek": reflect.ValueOf(&q.Meetei_Mayek), 156 "Mende_Kikakui": reflect.ValueOf(&q.Mende_Kikakui), 157 "Meroitic_Cursive": reflect.ValueOf(&q.Meroitic_Cursive), 158 "Meroitic_Hieroglyphs": reflect.ValueOf(&q.Meroitic_Hieroglyphs), 159 "Miao": reflect.ValueOf(&q.Miao), 160 "Mn": reflect.ValueOf(&q.Mn), 161 "Modi": reflect.ValueOf(&q.Modi), 162 "Mongolian": reflect.ValueOf(&q.Mongolian), 163 "Mro": reflect.ValueOf(&q.Mro), 164 "Multani": reflect.ValueOf(&q.Multani), 165 "Myanmar": reflect.ValueOf(&q.Myanmar), 166 "N": reflect.ValueOf(&q.N), 167 "Nabataean": reflect.ValueOf(&q.Nabataean), 168 "Nag_Mundari": reflect.ValueOf(&q.Nag_Mundari), 169 "Nandinagari": reflect.ValueOf(&q.Nandinagari), 170 "Nd": reflect.ValueOf(&q.Nd), 171 "New_Tai_Lue": reflect.ValueOf(&q.New_Tai_Lue), 172 "Newa": reflect.ValueOf(&q.Newa), 173 "Nko": reflect.ValueOf(&q.Nko), 174 "Nl": reflect.ValueOf(&q.Nl), 175 "No": reflect.ValueOf(&q.No), 176 "Noncharacter_Code_Point": reflect.ValueOf(&q.Noncharacter_Code_Point), 177 "Number": reflect.ValueOf(&q.Number), 178 "Nushu": reflect.ValueOf(&q.Nushu), 179 "Nyiakeng_Puachue_Hmong": reflect.ValueOf(&q.Nyiakeng_Puachue_Hmong), 180 "Ogham": reflect.ValueOf(&q.Ogham), 181 "Ol_Chiki": reflect.ValueOf(&q.Ol_Chiki), 182 "Old_Hungarian": reflect.ValueOf(&q.Old_Hungarian), 183 "Old_Italic": reflect.ValueOf(&q.Old_Italic), 184 "Old_North_Arabian": reflect.ValueOf(&q.Old_North_Arabian), 185 "Old_Permic": reflect.ValueOf(&q.Old_Permic), 186 "Old_Persian": reflect.ValueOf(&q.Old_Persian), 187 "Old_Sogdian": reflect.ValueOf(&q.Old_Sogdian), 188 "Old_South_Arabian": reflect.ValueOf(&q.Old_South_Arabian), 189 "Old_Turkic": reflect.ValueOf(&q.Old_Turkic), 190 "Old_Uyghur": reflect.ValueOf(&q.Old_Uyghur), 191 "Oriya": reflect.ValueOf(&q.Oriya), 192 "Osage": reflect.ValueOf(&q.Osage), 193 "Osmanya": reflect.ValueOf(&q.Osmanya), 194 "Other": reflect.ValueOf(&q.Other), 195 "Other_Alphabetic": reflect.ValueOf(&q.Other_Alphabetic), 196 "Other_Default_Ignorable_Code_Point": reflect.ValueOf(&q.Other_Default_Ignorable_Code_Point), 197 "Other_Grapheme_Extend": reflect.ValueOf(&q.Other_Grapheme_Extend), 198 "Other_ID_Continue": reflect.ValueOf(&q.Other_ID_Continue), 199 "Other_ID_Start": reflect.ValueOf(&q.Other_ID_Start), 200 "Other_Lowercase": reflect.ValueOf(&q.Other_Lowercase), 201 "Other_Math": reflect.ValueOf(&q.Other_Math), 202 "Other_Uppercase": reflect.ValueOf(&q.Other_Uppercase), 203 "P": reflect.ValueOf(&q.P), 204 "Pahawh_Hmong": reflect.ValueOf(&q.Pahawh_Hmong), 205 "Palmyrene": reflect.ValueOf(&q.Palmyrene), 206 "Pattern_Syntax": reflect.ValueOf(&q.Pattern_Syntax), 207 "Pattern_White_Space": reflect.ValueOf(&q.Pattern_White_Space), 208 "Pau_Cin_Hau": reflect.ValueOf(&q.Pau_Cin_Hau), 209 "Pc": reflect.ValueOf(&q.Pc), 210 "Pd": reflect.ValueOf(&q.Pd), 211 "Pe": reflect.ValueOf(&q.Pe), 212 "Pf": reflect.ValueOf(&q.Pf), 213 "Phags_Pa": reflect.ValueOf(&q.Phags_Pa), 214 "Phoenician": reflect.ValueOf(&q.Phoenician), 215 "Pi": reflect.ValueOf(&q.Pi), 216 "Po": reflect.ValueOf(&q.Po), 217 "Prepended_Concatenation_Mark": reflect.ValueOf(&q.Prepended_Concatenation_Mark), 218 "PrintRanges": reflect.ValueOf(&q.PrintRanges), 219 "Properties": reflect.ValueOf(&q.Properties), 220 "Ps": reflect.ValueOf(&q.Ps), 221 "Psalter_Pahlavi": reflect.ValueOf(&q.Psalter_Pahlavi), 222 "Punct": reflect.ValueOf(&q.Punct), 223 "Quotation_Mark": reflect.ValueOf(&q.Quotation_Mark), 224 "Radical": reflect.ValueOf(&q.Radical), 225 "Regional_Indicator": reflect.ValueOf(&q.Regional_Indicator), 226 "Rejang": reflect.ValueOf(&q.Rejang), 227 "Runic": reflect.ValueOf(&q.Runic), 228 "S": reflect.ValueOf(&q.S), 229 "STerm": reflect.ValueOf(&q.STerm), 230 "Samaritan": reflect.ValueOf(&q.Samaritan), 231 "Saurashtra": reflect.ValueOf(&q.Saurashtra), 232 "Sc": reflect.ValueOf(&q.Sc), 233 "Scripts": reflect.ValueOf(&q.Scripts), 234 "Sentence_Terminal": reflect.ValueOf(&q.Sentence_Terminal), 235 "Sharada": reflect.ValueOf(&q.Sharada), 236 "Shavian": reflect.ValueOf(&q.Shavian), 237 "Siddham": reflect.ValueOf(&q.Siddham), 238 "SignWriting": reflect.ValueOf(&q.SignWriting), 239 "Sinhala": reflect.ValueOf(&q.Sinhala), 240 "Sk": reflect.ValueOf(&q.Sk), 241 "Sm": reflect.ValueOf(&q.Sm), 242 "So": reflect.ValueOf(&q.So), 243 "Soft_Dotted": reflect.ValueOf(&q.Soft_Dotted), 244 "Sogdian": reflect.ValueOf(&q.Sogdian), 245 "Sora_Sompeng": reflect.ValueOf(&q.Sora_Sompeng), 246 "Soyombo": reflect.ValueOf(&q.Soyombo), 247 "Space": reflect.ValueOf(&q.Space), 248 "Sundanese": reflect.ValueOf(&q.Sundanese), 249 "Syloti_Nagri": reflect.ValueOf(&q.Syloti_Nagri), 250 "Symbol": reflect.ValueOf(&q.Symbol), 251 "Syriac": reflect.ValueOf(&q.Syriac), 252 "Tagalog": reflect.ValueOf(&q.Tagalog), 253 "Tagbanwa": reflect.ValueOf(&q.Tagbanwa), 254 "Tai_Le": reflect.ValueOf(&q.Tai_Le), 255 "Tai_Tham": reflect.ValueOf(&q.Tai_Tham), 256 "Tai_Viet": reflect.ValueOf(&q.Tai_Viet), 257 "Takri": reflect.ValueOf(&q.Takri), 258 "Tamil": reflect.ValueOf(&q.Tamil), 259 "Tangsa": reflect.ValueOf(&q.Tangsa), 260 "Tangut": reflect.ValueOf(&q.Tangut), 261 "Telugu": reflect.ValueOf(&q.Telugu), 262 "Terminal_Punctuation": reflect.ValueOf(&q.Terminal_Punctuation), 263 "Thaana": reflect.ValueOf(&q.Thaana), 264 "Thai": reflect.ValueOf(&q.Thai), 265 "Tibetan": reflect.ValueOf(&q.Tibetan), 266 "Tifinagh": reflect.ValueOf(&q.Tifinagh), 267 "Tirhuta": reflect.ValueOf(&q.Tirhuta), 268 "Title": reflect.ValueOf(&q.Title), 269 "Toto": reflect.ValueOf(&q.Toto), 270 "TurkishCase": reflect.ValueOf(&q.TurkishCase), 271 "Ugaritic": reflect.ValueOf(&q.Ugaritic), 272 "Unified_Ideograph": reflect.ValueOf(&q.Unified_Ideograph), 273 "Upper": reflect.ValueOf(&q.Upper), 274 "Vai": reflect.ValueOf(&q.Vai), 275 "Variation_Selector": reflect.ValueOf(&q.Variation_Selector), 276 "Vithkuqi": reflect.ValueOf(&q.Vithkuqi), 277 "Wancho": reflect.ValueOf(&q.Wancho), 278 "Warang_Citi": reflect.ValueOf(&q.Warang_Citi), 279 "White_Space": reflect.ValueOf(&q.White_Space), 280 "Yezidi": reflect.ValueOf(&q.Yezidi), 281 "Yi": reflect.ValueOf(&q.Yi), 282 "Z": reflect.ValueOf(&q.Z), 283 "Zanabazar_Square": reflect.ValueOf(&q.Zanabazar_Square), 284 "Zl": reflect.ValueOf(&q.Zl), 285 "Zp": reflect.ValueOf(&q.Zp), 286 "Zs": reflect.ValueOf(&q.Zs), 287 }, 288 Funcs: map[string]reflect.Value{ 289 "In": reflect.ValueOf(q.In), 290 "Is": reflect.ValueOf(q.Is), 291 "IsControl": reflect.ValueOf(q.IsControl), 292 "IsDigit": reflect.ValueOf(q.IsDigit), 293 "IsGraphic": reflect.ValueOf(q.IsGraphic), 294 "IsLetter": reflect.ValueOf(q.IsLetter), 295 "IsLower": reflect.ValueOf(q.IsLower), 296 "IsMark": reflect.ValueOf(q.IsMark), 297 "IsNumber": reflect.ValueOf(q.IsNumber), 298 "IsOneOf": reflect.ValueOf(q.IsOneOf), 299 "IsPrint": reflect.ValueOf(q.IsPrint), 300 "IsPunct": reflect.ValueOf(q.IsPunct), 301 "IsSpace": reflect.ValueOf(q.IsSpace), 302 "IsSymbol": reflect.ValueOf(q.IsSymbol), 303 "IsTitle": reflect.ValueOf(q.IsTitle), 304 "IsUpper": reflect.ValueOf(q.IsUpper), 305 "SimpleFold": reflect.ValueOf(q.SimpleFold), 306 "To": reflect.ValueOf(q.To), 307 "ToLower": reflect.ValueOf(q.ToLower), 308 "ToTitle": reflect.ValueOf(q.ToTitle), 309 "ToUpper": reflect.ValueOf(q.ToUpper), 310 }, 311 TypedConsts: map[string]igop.TypedConst{}, 312 UntypedConsts: map[string]igop.UntypedConst{ 313 "LowerCase": {"untyped int", constant.MakeInt64(int64(q.LowerCase))}, 314 "MaxASCII": {"untyped rune", constant.MakeInt64(int64(q.MaxASCII))}, 315 "MaxCase": {"untyped int", constant.MakeInt64(int64(q.MaxCase))}, 316 "MaxLatin1": {"untyped rune", constant.MakeInt64(int64(q.MaxLatin1))}, 317 "MaxRune": {"untyped rune", constant.MakeInt64(int64(q.MaxRune))}, 318 "ReplacementChar": {"untyped rune", constant.MakeInt64(int64(q.ReplacementChar))}, 319 "TitleCase": {"untyped int", constant.MakeInt64(int64(q.TitleCase))}, 320 "UpperCase": {"untyped int", constant.MakeInt64(int64(q.UpperCase))}, 321 "UpperLower": {"untyped rune", constant.MakeInt64(int64(q.UpperLower))}, 322 "Version": {"untyped string", constant.MakeString(string(q.Version))}, 323 }, 324 }) 325 }