github.com/goplus/gossa@v0.3.25/pkg/strconv/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package strconv 7 8 import ( 9 q "strconv" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/gossa" 15 ) 16 17 func init() { 18 gossa.RegisterPackage(&gossa.Package{ 19 Name: "strconv", 20 Path: "strconv", 21 Deps: map[string]string{ 22 "errors": "errors", 23 "internal/bytealg": "bytealg", 24 "math": "math", 25 "math/bits": "bits", 26 "unicode/utf8": "utf8", 27 }, 28 Interfaces: map[string]reflect.Type{}, 29 NamedTypes: map[string]gossa.NamedType{ 30 "NumError": {reflect.TypeOf((*q.NumError)(nil)).Elem(), "", "Error,Unwrap"}, 31 }, 32 AliasTypes: map[string]reflect.Type{}, 33 Vars: map[string]reflect.Value{ 34 "ErrRange": reflect.ValueOf(&q.ErrRange), 35 "ErrSyntax": reflect.ValueOf(&q.ErrSyntax), 36 }, 37 Funcs: map[string]reflect.Value{ 38 "AppendBool": reflect.ValueOf(q.AppendBool), 39 "AppendFloat": reflect.ValueOf(q.AppendFloat), 40 "AppendInt": reflect.ValueOf(q.AppendInt), 41 "AppendQuote": reflect.ValueOf(q.AppendQuote), 42 "AppendQuoteRune": reflect.ValueOf(q.AppendQuoteRune), 43 "AppendQuoteRuneToASCII": reflect.ValueOf(q.AppendQuoteRuneToASCII), 44 "AppendQuoteRuneToGraphic": reflect.ValueOf(q.AppendQuoteRuneToGraphic), 45 "AppendQuoteToASCII": reflect.ValueOf(q.AppendQuoteToASCII), 46 "AppendQuoteToGraphic": reflect.ValueOf(q.AppendQuoteToGraphic), 47 "AppendUint": reflect.ValueOf(q.AppendUint), 48 "Atoi": reflect.ValueOf(q.Atoi), 49 "CanBackquote": reflect.ValueOf(q.CanBackquote), 50 "FormatBool": reflect.ValueOf(q.FormatBool), 51 "FormatComplex": reflect.ValueOf(q.FormatComplex), 52 "FormatFloat": reflect.ValueOf(q.FormatFloat), 53 "FormatInt": reflect.ValueOf(q.FormatInt), 54 "FormatUint": reflect.ValueOf(q.FormatUint), 55 "IsGraphic": reflect.ValueOf(q.IsGraphic), 56 "IsPrint": reflect.ValueOf(q.IsPrint), 57 "Itoa": reflect.ValueOf(q.Itoa), 58 "ParseBool": reflect.ValueOf(q.ParseBool), 59 "ParseComplex": reflect.ValueOf(q.ParseComplex), 60 "ParseFloat": reflect.ValueOf(q.ParseFloat), 61 "ParseInt": reflect.ValueOf(q.ParseInt), 62 "ParseUint": reflect.ValueOf(q.ParseUint), 63 "Quote": reflect.ValueOf(q.Quote), 64 "QuoteRune": reflect.ValueOf(q.QuoteRune), 65 "QuoteRuneToASCII": reflect.ValueOf(q.QuoteRuneToASCII), 66 "QuoteRuneToGraphic": reflect.ValueOf(q.QuoteRuneToGraphic), 67 "QuoteToASCII": reflect.ValueOf(q.QuoteToASCII), 68 "QuoteToGraphic": reflect.ValueOf(q.QuoteToGraphic), 69 "QuotedPrefix": reflect.ValueOf(q.QuotedPrefix), 70 "Unquote": reflect.ValueOf(q.Unquote), 71 "UnquoteChar": reflect.ValueOf(q.UnquoteChar), 72 }, 73 TypedConsts: map[string]gossa.TypedConst{}, 74 UntypedConsts: map[string]gossa.UntypedConst{ 75 "IntSize": {"untyped int", constant.MakeInt64(int64(q.IntSize))}, 76 }, 77 }) 78 }