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