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