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