github.com/goplus/gossa@v0.3.25/pkg/unicode/go114_export.go (about)

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