Debian Codegraph @

stdlib/go1_21_strings.go

raw symbols SCIP
1 // Code generated by 'yaegi extract strings'. DO NOT EDIT.
2
3 //go:build go1.21 && !go1.22
4 // +build go1.21,!go1.22
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 "ContainsFunc": reflect.ValueOf(strings.ContainsFunc),
21 "ContainsRune": reflect.ValueOf(strings.ContainsRune),
22 "Count": reflect.ValueOf(strings.Count),
23 "Cut": reflect.ValueOf(strings.Cut),
24 "CutPrefix": reflect.ValueOf(strings.CutPrefix),
25 "CutSuffix": reflect.ValueOf(strings.CutSuffix),
26 "EqualFold": reflect.ValueOf(strings.EqualFold),
27 "Fields": reflect.ValueOf(strings.Fields),
28 "FieldsFunc": reflect.ValueOf(strings.FieldsFunc),
29 "HasPrefix": reflect.ValueOf(strings.HasPrefix),
30 "HasSuffix": reflect.ValueOf(strings.HasSuffix),
31 "Index": reflect.ValueOf(strings.Index),
32 "IndexAny": reflect.ValueOf(strings.IndexAny),
33 "IndexByte": reflect.ValueOf(strings.IndexByte),
34 "IndexFunc": reflect.ValueOf(strings.IndexFunc),
35 "IndexRune": reflect.ValueOf(strings.IndexRune),
36 "Join": reflect.ValueOf(strings.Join),
37 "LastIndex": reflect.ValueOf(strings.LastIndex),
38 "LastIndexAny": reflect.ValueOf(strings.LastIndexAny),
39 "LastIndexByte": reflect.ValueOf(strings.LastIndexByte),
40 "LastIndexFunc": reflect.ValueOf(strings.LastIndexFunc),
41 "Map": reflect.ValueOf(strings.Map),
42 "NewReader": reflect.ValueOf(strings.NewReader),
43 "NewReplacer": reflect.ValueOf(strings.NewReplacer),
44 "Repeat": reflect.ValueOf(strings.Repeat),
45 "Replace": reflect.ValueOf(strings.Replace),
46 "ReplaceAll": reflect.ValueOf(strings.ReplaceAll),
47 "Split": reflect.ValueOf(strings.Split),
48 "SplitAfter": reflect.ValueOf(strings.SplitAfter),
49 "SplitAfterN": reflect.ValueOf(strings.SplitAfterN),
50 "SplitN": reflect.ValueOf(strings.SplitN),
51 "Title": reflect.ValueOf(strings.Title),
52 "ToLower": reflect.ValueOf(strings.ToLower),
53 "ToLowerSpecial": reflect.ValueOf(strings.ToLowerSpecial),
54 "ToTitle": reflect.ValueOf(strings.ToTitle),
55 "ToTitleSpecial": reflect.ValueOf(strings.ToTitleSpecial),
56 "ToUpper": reflect.ValueOf(strings.ToUpper),
57 "ToUpperSpecial": reflect.ValueOf(strings.ToUpperSpecial),
58 "ToValidUTF8": reflect.ValueOf(strings.ToValidUTF8),
59 "Trim": reflect.ValueOf(strings.Trim),
60 "TrimFunc": reflect.ValueOf(strings.TrimFunc),
61 "TrimLeft": reflect.ValueOf(strings.TrimLeft),
62 "TrimLeftFunc": reflect.ValueOf(strings.TrimLeftFunc),
63 "TrimPrefix": reflect.ValueOf(strings.TrimPrefix),
64 "TrimRight": reflect.ValueOf(strings.TrimRight),
65 "TrimRightFunc": reflect.ValueOf(strings.TrimRightFunc),
66 "TrimSpace": reflect.ValueOf(strings.TrimSpace),
67 "TrimSuffix": reflect.ValueOf(strings.TrimSuffix),
68
69 // type definitions
70 "Builder": reflect.ValueOf((*strings.Builder)(nil)),
71 "Reader": reflect.ValueOf((*strings.Reader)(nil)),
72 "Replacer": reflect.ValueOf((*strings.Replacer)(nil)),
73 }
74 }