| 1 | // Code generated by 'yaegi extract unicode/utf8'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "go/constant" |
| 10 | "go/token" |
| 11 | "reflect" |
| 12 | "unicode/utf8" |
| 13 | ) |
| 14 | |
| 15 | func init() { |
| 16 | Symbols["unicode/utf8/utf8"] = map[string]reflect.Value{ |
| 17 | // function, constant and variable definitions |
| 18 | "AppendRune": reflect.ValueOf(utf8.AppendRune), |
| 19 | "DecodeLastRune": reflect.ValueOf(utf8.DecodeLastRune), |
| 20 | "DecodeLastRuneInString": reflect.ValueOf(utf8.DecodeLastRuneInString), |
| 21 | "DecodeRune": reflect.ValueOf(utf8.DecodeRune), |
| 22 | "DecodeRuneInString": reflect.ValueOf(utf8.DecodeRuneInString), |
| 23 | "EncodeRune": reflect.ValueOf(utf8.EncodeRune), |
| 24 | "FullRune": reflect.ValueOf(utf8.FullRune), |
| 25 | "FullRuneInString": reflect.ValueOf(utf8.FullRuneInString), |
| 26 | "MaxRune": reflect.ValueOf(constant.MakeFromLiteral("1114111", token.INT, 0)), |
| 27 | "RuneCount": reflect.ValueOf(utf8.RuneCount), |
| 28 | "RuneCountInString": reflect.ValueOf(utf8.RuneCountInString), |
| 29 | "RuneError": reflect.ValueOf(constant.MakeFromLiteral("65533", token.INT, 0)), |
| 30 | "RuneLen": reflect.ValueOf(utf8.RuneLen), |
| 31 | "RuneSelf": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), |
| 32 | "RuneStart": reflect.ValueOf(utf8.RuneStart), |
| 33 | "UTFMax": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), |
| 34 | "Valid": reflect.ValueOf(utf8.Valid), |
| 35 | "ValidRune": reflect.ValueOf(utf8.ValidRune), |
| 36 | "ValidString": reflect.ValueOf(utf8.ValidString), |
| 37 | } |
| 38 | } |