github.com/goplus/igop@v0.25.0/pkg/bufio/go115_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package bufio 6 7 import ( 8 q "bufio" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "bufio", 19 Path: "bufio", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "errors": "errors", 23 "io": "io", 24 "strings": "strings", 25 "unicode/utf8": "utf8", 26 }, 27 Interfaces: map[string]reflect.Type{}, 28 NamedTypes: map[string]reflect.Type{ 29 "ReadWriter": reflect.TypeOf((*q.ReadWriter)(nil)).Elem(), 30 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 31 "Scanner": reflect.TypeOf((*q.Scanner)(nil)).Elem(), 32 "SplitFunc": reflect.TypeOf((*q.SplitFunc)(nil)).Elem(), 33 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{ 37 "ErrAdvanceTooFar": reflect.ValueOf(&q.ErrAdvanceTooFar), 38 "ErrBadReadCount": reflect.ValueOf(&q.ErrBadReadCount), 39 "ErrBufferFull": reflect.ValueOf(&q.ErrBufferFull), 40 "ErrFinalToken": reflect.ValueOf(&q.ErrFinalToken), 41 "ErrInvalidUnreadByte": reflect.ValueOf(&q.ErrInvalidUnreadByte), 42 "ErrInvalidUnreadRune": reflect.ValueOf(&q.ErrInvalidUnreadRune), 43 "ErrNegativeAdvance": reflect.ValueOf(&q.ErrNegativeAdvance), 44 "ErrNegativeCount": reflect.ValueOf(&q.ErrNegativeCount), 45 "ErrTooLong": reflect.ValueOf(&q.ErrTooLong), 46 }, 47 Funcs: map[string]reflect.Value{ 48 "NewReadWriter": reflect.ValueOf(q.NewReadWriter), 49 "NewReader": reflect.ValueOf(q.NewReader), 50 "NewReaderSize": reflect.ValueOf(q.NewReaderSize), 51 "NewScanner": reflect.ValueOf(q.NewScanner), 52 "NewWriter": reflect.ValueOf(q.NewWriter), 53 "NewWriterSize": reflect.ValueOf(q.NewWriterSize), 54 "ScanBytes": reflect.ValueOf(q.ScanBytes), 55 "ScanLines": reflect.ValueOf(q.ScanLines), 56 "ScanRunes": reflect.ValueOf(q.ScanRunes), 57 "ScanWords": reflect.ValueOf(q.ScanWords), 58 }, 59 TypedConsts: map[string]igop.TypedConst{}, 60 UntypedConsts: map[string]igop.UntypedConst{ 61 "MaxScanTokenSize": {"untyped int", constant.MakeInt64(int64(q.MaxScanTokenSize))}, 62 }, 63 }) 64 }