github.com/goplus/igop@v0.25.0/pkg/bufio/go114_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.14,!go1.15 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 "unicode/utf8": "utf8", 25 }, 26 Interfaces: map[string]reflect.Type{}, 27 NamedTypes: map[string]reflect.Type{ 28 "ReadWriter": reflect.TypeOf((*q.ReadWriter)(nil)).Elem(), 29 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 30 "Scanner": reflect.TypeOf((*q.Scanner)(nil)).Elem(), 31 "SplitFunc": reflect.TypeOf((*q.SplitFunc)(nil)).Elem(), 32 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 33 }, 34 AliasTypes: map[string]reflect.Type{}, 35 Vars: map[string]reflect.Value{ 36 "ErrAdvanceTooFar": reflect.ValueOf(&q.ErrAdvanceTooFar), 37 "ErrBufferFull": reflect.ValueOf(&q.ErrBufferFull), 38 "ErrFinalToken": reflect.ValueOf(&q.ErrFinalToken), 39 "ErrInvalidUnreadByte": reflect.ValueOf(&q.ErrInvalidUnreadByte), 40 "ErrInvalidUnreadRune": reflect.ValueOf(&q.ErrInvalidUnreadRune), 41 "ErrNegativeAdvance": reflect.ValueOf(&q.ErrNegativeAdvance), 42 "ErrNegativeCount": reflect.ValueOf(&q.ErrNegativeCount), 43 "ErrTooLong": reflect.ValueOf(&q.ErrTooLong), 44 }, 45 Funcs: map[string]reflect.Value{ 46 "NewReadWriter": reflect.ValueOf(q.NewReadWriter), 47 "NewReader": reflect.ValueOf(q.NewReader), 48 "NewReaderSize": reflect.ValueOf(q.NewReaderSize), 49 "NewScanner": reflect.ValueOf(q.NewScanner), 50 "NewWriter": reflect.ValueOf(q.NewWriter), 51 "NewWriterSize": reflect.ValueOf(q.NewWriterSize), 52 "ScanBytes": reflect.ValueOf(q.ScanBytes), 53 "ScanLines": reflect.ValueOf(q.ScanLines), 54 "ScanRunes": reflect.ValueOf(q.ScanRunes), 55 "ScanWords": reflect.ValueOf(q.ScanWords), 56 }, 57 TypedConsts: map[string]igop.TypedConst{}, 58 UntypedConsts: map[string]igop.UntypedConst{ 59 "MaxScanTokenSize": {"untyped int", constant.MakeInt64(int64(q.MaxScanTokenSize))}, 60 }, 61 }) 62 }