github.com/goplus/gossa@v0.3.25/pkg/bufio/go115_export.go (about) 1 // export by github.com/goplus/gossa/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/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.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]gossa.NamedType{ 29 "ReadWriter": {reflect.TypeOf((*q.ReadWriter)(nil)).Elem(), "", ""}, 30 "Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "Buffered,Discard,Peek,Read,ReadByte,ReadBytes,ReadLine,ReadRune,ReadSlice,ReadString,Reset,Size,UnreadByte,UnreadRune,WriteTo,collectFragments,fill,readErr,reset,writeBuf"}, 31 "Scanner": {reflect.TypeOf((*q.Scanner)(nil)).Elem(), "", "Buffer,Bytes,Err,Scan,Split,Text,advance,setErr"}, 32 "SplitFunc": {reflect.TypeOf((*q.SplitFunc)(nil)).Elem(), "", ""}, 33 "Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Available,Buffered,Flush,ReadFrom,Reset,Size,Write,WriteByte,WriteRune,WriteString"}, 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]gossa.TypedConst{}, 60 UntypedConsts: map[string]gossa.UntypedConst{ 61 "MaxScanTokenSize": {"untyped int", constant.MakeInt64(int64(q.MaxScanTokenSize))}, 62 }, 63 }) 64 }