github.com/gmemcc/yaegi@v0.12.1-0.20221128122509-aa99124c5d16/stdlib/go1_16_strings.go (about) 1 // Code generated by 'yaegi extract strings'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "reflect" 9 "strings" 10 ) 11 12 func init() { 13 Symbols["strings/strings"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "Compare": reflect.ValueOf(strings.Compare), 16 "Contains": reflect.ValueOf(strings.Contains), 17 "ContainsAny": reflect.ValueOf(strings.ContainsAny), 18 "ContainsRune": reflect.ValueOf(strings.ContainsRune), 19 "Count": reflect.ValueOf(strings.Count), 20 "EqualFold": reflect.ValueOf(strings.EqualFold), 21 "Fields": reflect.ValueOf(strings.Fields), 22 "FieldsFunc": reflect.ValueOf(strings.FieldsFunc), 23 "HasPrefix": reflect.ValueOf(strings.HasPrefix), 24 "HasSuffix": reflect.ValueOf(strings.HasSuffix), 25 "Index": reflect.ValueOf(strings.Index), 26 "IndexAny": reflect.ValueOf(strings.IndexAny), 27 "IndexByte": reflect.ValueOf(strings.IndexByte), 28 "IndexFunc": reflect.ValueOf(strings.IndexFunc), 29 "IndexRune": reflect.ValueOf(strings.IndexRune), 30 "Join": reflect.ValueOf(strings.Join), 31 "LastIndex": reflect.ValueOf(strings.LastIndex), 32 "LastIndexAny": reflect.ValueOf(strings.LastIndexAny), 33 "LastIndexByte": reflect.ValueOf(strings.LastIndexByte), 34 "LastIndexFunc": reflect.ValueOf(strings.LastIndexFunc), 35 "Map": reflect.ValueOf(strings.Map), 36 "NewReader": reflect.ValueOf(strings.NewReader), 37 "NewReplacer": reflect.ValueOf(strings.NewReplacer), 38 "Repeat": reflect.ValueOf(strings.Repeat), 39 "Replace": reflect.ValueOf(strings.Replace), 40 "ReplaceAll": reflect.ValueOf(strings.ReplaceAll), 41 "Split": reflect.ValueOf(strings.Split), 42 "SplitAfter": reflect.ValueOf(strings.SplitAfter), 43 "SplitAfterN": reflect.ValueOf(strings.SplitAfterN), 44 "SplitN": reflect.ValueOf(strings.SplitN), 45 "Title": reflect.ValueOf(strings.Title), 46 "ToLower": reflect.ValueOf(strings.ToLower), 47 "ToLowerSpecial": reflect.ValueOf(strings.ToLowerSpecial), 48 "ToTitle": reflect.ValueOf(strings.ToTitle), 49 "ToTitleSpecial": reflect.ValueOf(strings.ToTitleSpecial), 50 "ToUpper": reflect.ValueOf(strings.ToUpper), 51 "ToUpperSpecial": reflect.ValueOf(strings.ToUpperSpecial), 52 "ToValidUTF8": reflect.ValueOf(strings.ToValidUTF8), 53 "Trim": reflect.ValueOf(strings.Trim), 54 "TrimFunc": reflect.ValueOf(strings.TrimFunc), 55 "TrimLeft": reflect.ValueOf(strings.TrimLeft), 56 "TrimLeftFunc": reflect.ValueOf(strings.TrimLeftFunc), 57 "TrimPrefix": reflect.ValueOf(strings.TrimPrefix), 58 "TrimRight": reflect.ValueOf(strings.TrimRight), 59 "TrimRightFunc": reflect.ValueOf(strings.TrimRightFunc), 60 "TrimSpace": reflect.ValueOf(strings.TrimSpace), 61 "TrimSuffix": reflect.ValueOf(strings.TrimSuffix), 62 63 // type definitions 64 "Builder": reflect.ValueOf((*strings.Builder)(nil)), 65 "Reader": reflect.ValueOf((*strings.Reader)(nil)), 66 "Replacer": reflect.ValueOf((*strings.Replacer)(nil)), 67 } 68 }