github.com/goplus/igop@v0.25.0/pkg/regexp/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 && !go1.21 4 // +build go1.20,!go1.21 5 6 package regexp 7 8 import ( 9 q "regexp" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "regexp", 19 Path: "regexp", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "io": "io", 23 "regexp/syntax": "syntax", 24 "sort": "sort", 25 "strconv": "strconv", 26 "strings": "strings", 27 "sync": "sync", 28 "unicode": "unicode", 29 "unicode/utf8": "utf8", 30 }, 31 Interfaces: map[string]reflect.Type{}, 32 NamedTypes: map[string]reflect.Type{ 33 "Regexp": reflect.TypeOf((*q.Regexp)(nil)).Elem(), 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 37 Funcs: map[string]reflect.Value{ 38 "Compile": reflect.ValueOf(q.Compile), 39 "CompilePOSIX": reflect.ValueOf(q.CompilePOSIX), 40 "Match": reflect.ValueOf(q.Match), 41 "MatchReader": reflect.ValueOf(q.MatchReader), 42 "MatchString": reflect.ValueOf(q.MatchString), 43 "MustCompile": reflect.ValueOf(q.MustCompile), 44 "MustCompilePOSIX": reflect.ValueOf(q.MustCompilePOSIX), 45 "QuoteMeta": reflect.ValueOf(q.QuoteMeta), 46 }, 47 TypedConsts: map[string]igop.TypedConst{}, 48 UntypedConsts: map[string]igop.UntypedConst{}, 49 }) 50 }