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