github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_17_unicode_utf8.go (about) 1 // Code generated by 'yaegi extract unicode/utf8'. DO NOT EDIT. 2 3 //go:build go1.17 4 // +build go1.17 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 "DecodeLastRune": reflect.ValueOf(utf8.DecodeLastRune), 19 "DecodeLastRuneInString": reflect.ValueOf(utf8.DecodeLastRuneInString), 20 "DecodeRune": reflect.ValueOf(utf8.DecodeRune), 21 "DecodeRuneInString": reflect.ValueOf(utf8.DecodeRuneInString), 22 "EncodeRune": reflect.ValueOf(utf8.EncodeRune), 23 "FullRune": reflect.ValueOf(utf8.FullRune), 24 "FullRuneInString": reflect.ValueOf(utf8.FullRuneInString), 25 "MaxRune": reflect.ValueOf(constant.MakeFromLiteral("1114111", token.INT, 0)), 26 "RuneCount": reflect.ValueOf(utf8.RuneCount), 27 "RuneCountInString": reflect.ValueOf(utf8.RuneCountInString), 28 "RuneError": reflect.ValueOf(constant.MakeFromLiteral("65533", token.INT, 0)), 29 "RuneLen": reflect.ValueOf(utf8.RuneLen), 30 "RuneSelf": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), 31 "RuneStart": reflect.ValueOf(utf8.RuneStart), 32 "UTFMax": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), 33 "Valid": reflect.ValueOf(utf8.Valid), 34 "ValidRune": reflect.ValueOf(utf8.ValidRune), 35 "ValidString": reflect.ValueOf(utf8.ValidString), 36 } 37 }