github.com/goplus/igop@v0.25.0/pkg/strconv/go114_export.go (about)

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