-
Notifications
You must be signed in to change notification settings - Fork 14
/
go121_export.go
executable file
·49 lines (43 loc) · 1.42 KB
/
go121_export.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
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.21
// +build go1.21
package gosym
import (
q "debug/gosym"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "gosym",
Path: "debug/gosym",
Deps: map[string]string{
"bytes": "bytes",
"encoding/binary": "binary",
"fmt": "fmt",
"sort": "sort",
"strconv": "strconv",
"strings": "strings",
"sync": "sync",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"DecodingError": reflect.TypeOf((*q.DecodingError)(nil)).Elem(),
"Func": reflect.TypeOf((*q.Func)(nil)).Elem(),
"LineTable": reflect.TypeOf((*q.LineTable)(nil)).Elem(),
"Obj": reflect.TypeOf((*q.Obj)(nil)).Elem(),
"Sym": reflect.TypeOf((*q.Sym)(nil)).Elem(),
"Table": reflect.TypeOf((*q.Table)(nil)).Elem(),
"UnknownFileError": reflect.TypeOf((*q.UnknownFileError)(nil)).Elem(),
"UnknownLineError": reflect.TypeOf((*q.UnknownLineError)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"NewLineTable": reflect.ValueOf(q.NewLineTable),
"NewTable": reflect.ValueOf(q.NewTable),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}