-
Notifications
You must be signed in to change notification settings - Fork 14
/
export.go
executable file
·39 lines (34 loc) · 1.05 KB
/
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
// export by github.com/goplus/igop/cmd/qexp
package iox
import (
q "github.com/goplus/gop/builtin/iox"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "iox",
Path: "github.com/goplus/gop/builtin/iox",
Deps: map[string]string{
"bufio": "bufio",
"io": "io",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"BLineIter": reflect.TypeOf((*q.BLineIter)(nil)).Elem(),
"BLineReader": reflect.TypeOf((*q.BLineReader)(nil)).Elem(),
"LineIter": reflect.TypeOf((*q.LineIter)(nil)).Elem(),
"LineReader": reflect.TypeOf((*q.LineReader)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"BLines": reflect.ValueOf(q.BLines),
"EnumBLines": reflect.ValueOf(q.EnumBLines),
"EnumLines": reflect.ValueOf(q.EnumLines),
"Lines": reflect.ValueOf(q.Lines),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}