github.com/goplus/igop@v0.25.0/pkg/go/build/constraint/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 5 6 package constraint 7 8 import ( 9 q "go/build/constraint" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "constraint", 19 Path: "go/build/constraint", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "strconv": "strconv", 23 "strings": "strings", 24 "unicode": "unicode", 25 "unicode/utf8": "utf8", 26 }, 27 Interfaces: map[string]reflect.Type{ 28 "Expr": reflect.TypeOf((*q.Expr)(nil)).Elem(), 29 }, 30 NamedTypes: map[string]reflect.Type{ 31 "AndExpr": reflect.TypeOf((*q.AndExpr)(nil)).Elem(), 32 "NotExpr": reflect.TypeOf((*q.NotExpr)(nil)).Elem(), 33 "OrExpr": reflect.TypeOf((*q.OrExpr)(nil)).Elem(), 34 "SyntaxError": reflect.TypeOf((*q.SyntaxError)(nil)).Elem(), 35 "TagExpr": reflect.TypeOf((*q.TagExpr)(nil)).Elem(), 36 }, 37 AliasTypes: map[string]reflect.Type{}, 38 Vars: map[string]reflect.Value{}, 39 Funcs: map[string]reflect.Value{ 40 "GoVersion": reflect.ValueOf(q.GoVersion), 41 "IsGoBuild": reflect.ValueOf(q.IsGoBuild), 42 "IsPlusBuild": reflect.ValueOf(q.IsPlusBuild), 43 "Parse": reflect.ValueOf(q.Parse), 44 "PlusBuildLines": reflect.ValueOf(q.PlusBuildLines), 45 }, 46 TypedConsts: map[string]igop.TypedConst{}, 47 UntypedConsts: map[string]igop.UntypedConst{}, 48 }) 49 }