/
go1_15_strconv.go
57 lines (52 loc) · 2.78 KB
/
go1_15_strconv.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Code generated by 'yaegi extract strconv'. DO NOT EDIT.
// +build go1.15
package stdlib
import (
"go/constant"
"go/token"
"reflect"
"strconv"
)
func init() {
Symbols["strconv"] = map[string]reflect.Value{
// function, constant and variable definitions
"AppendBool": reflect.ValueOf(strconv.AppendBool),
"AppendFloat": reflect.ValueOf(strconv.AppendFloat),
"AppendInt": reflect.ValueOf(strconv.AppendInt),
"AppendQuote": reflect.ValueOf(strconv.AppendQuote),
"AppendQuoteRune": reflect.ValueOf(strconv.AppendQuoteRune),
"AppendQuoteRuneToASCII": reflect.ValueOf(strconv.AppendQuoteRuneToASCII),
"AppendQuoteRuneToGraphic": reflect.ValueOf(strconv.AppendQuoteRuneToGraphic),
"AppendQuoteToASCII": reflect.ValueOf(strconv.AppendQuoteToASCII),
"AppendQuoteToGraphic": reflect.ValueOf(strconv.AppendQuoteToGraphic),
"AppendUint": reflect.ValueOf(strconv.AppendUint),
"Atoi": reflect.ValueOf(strconv.Atoi),
"CanBackquote": reflect.ValueOf(strconv.CanBackquote),
"ErrRange": reflect.ValueOf(&strconv.ErrRange).Elem(),
"ErrSyntax": reflect.ValueOf(&strconv.ErrSyntax).Elem(),
"FormatBool": reflect.ValueOf(strconv.FormatBool),
"FormatComplex": reflect.ValueOf(strconv.FormatComplex),
"FormatFloat": reflect.ValueOf(strconv.FormatFloat),
"FormatInt": reflect.ValueOf(strconv.FormatInt),
"FormatUint": reflect.ValueOf(strconv.FormatUint),
"IntSize": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
"IsGraphic": reflect.ValueOf(strconv.IsGraphic),
"IsPrint": reflect.ValueOf(strconv.IsPrint),
"Itoa": reflect.ValueOf(strconv.Itoa),
"ParseBool": reflect.ValueOf(strconv.ParseBool),
"ParseComplex": reflect.ValueOf(strconv.ParseComplex),
"ParseFloat": reflect.ValueOf(strconv.ParseFloat),
"ParseInt": reflect.ValueOf(strconv.ParseInt),
"ParseUint": reflect.ValueOf(strconv.ParseUint),
"Quote": reflect.ValueOf(strconv.Quote),
"QuoteRune": reflect.ValueOf(strconv.QuoteRune),
"QuoteRuneToASCII": reflect.ValueOf(strconv.QuoteRuneToASCII),
"QuoteRuneToGraphic": reflect.ValueOf(strconv.QuoteRuneToGraphic),
"QuoteToASCII": reflect.ValueOf(strconv.QuoteToASCII),
"QuoteToGraphic": reflect.ValueOf(strconv.QuoteToGraphic),
"Unquote": reflect.ValueOf(strconv.Unquote),
"UnquoteChar": reflect.ValueOf(strconv.UnquoteChar),
// type definitions
"NumError": reflect.ValueOf((*strconv.NumError)(nil)),
}
}