| 1 | // Code generated by 'yaegi extract path/filepath'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "go/constant" |
| 10 | "go/token" |
| 11 | "path/filepath" |
| 12 | "reflect" |
| 13 | ) |
| 14 | |
| 15 | func init() { |
| 16 | Symbols["path/filepath/filepath"] = map[string]reflect.Value{ |
| 17 | // function, constant and variable definitions |
| 18 | "Abs": reflect.ValueOf(filepath.Abs), |
| 19 | "Base": reflect.ValueOf(filepath.Base), |
| 20 | "Clean": reflect.ValueOf(filepath.Clean), |
| 21 | "Dir": reflect.ValueOf(filepath.Dir), |
| 22 | "ErrBadPattern": reflect.ValueOf(&filepath.ErrBadPattern).Elem(), |
| 23 | "EvalSymlinks": reflect.ValueOf(filepath.EvalSymlinks), |
| 24 | "Ext": reflect.ValueOf(filepath.Ext), |
| 25 | "FromSlash": reflect.ValueOf(filepath.FromSlash), |
| 26 | "Glob": reflect.ValueOf(filepath.Glob), |
| 27 | "HasPrefix": reflect.ValueOf(filepath.HasPrefix), |
| 28 | "IsAbs": reflect.ValueOf(filepath.IsAbs), |
| 29 | "IsLocal": reflect.ValueOf(filepath.IsLocal), |
| 30 | "Join": reflect.ValueOf(filepath.Join), |
| 31 | "ListSeparator": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), |
| 32 | "Match": reflect.ValueOf(filepath.Match), |
| 33 | "Rel": reflect.ValueOf(filepath.Rel), |
| 34 | "Separator": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), |
| 35 | "SkipAll": reflect.ValueOf(&filepath.SkipAll).Elem(), |
| 36 | "SkipDir": reflect.ValueOf(&filepath.SkipDir).Elem(), |
| 37 | "Split": reflect.ValueOf(filepath.Split), |
| 38 | "SplitList": reflect.ValueOf(filepath.SplitList), |
| 39 | "ToSlash": reflect.ValueOf(filepath.ToSlash), |
| 40 | "VolumeName": reflect.ValueOf(filepath.VolumeName), |
| 41 | "Walk": reflect.ValueOf(filepath.Walk), |
| 42 | "WalkDir": reflect.ValueOf(filepath.WalkDir), |
| 43 | |
| 44 | // type definitions |
| 45 | "WalkFunc": reflect.ValueOf((*filepath.WalkFunc)(nil)), |
| 46 | } |
| 47 | } |