github.com/goplus/igop@v0.25.0/pkg/text/scanner/go115_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package scanner 6 7 import ( 8 q "text/scanner" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "scanner", 19 Path: "text/scanner", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "fmt": "fmt", 23 "io": "io", 24 "os": "os", 25 "unicode": "unicode", 26 "unicode/utf8": "utf8", 27 }, 28 Interfaces: map[string]reflect.Type{}, 29 NamedTypes: map[string]reflect.Type{ 30 "Position": reflect.TypeOf((*q.Position)(nil)).Elem(), 31 "Scanner": reflect.TypeOf((*q.Scanner)(nil)).Elem(), 32 }, 33 AliasTypes: map[string]reflect.Type{}, 34 Vars: map[string]reflect.Value{}, 35 Funcs: map[string]reflect.Value{ 36 "TokenString": reflect.ValueOf(q.TokenString), 37 }, 38 TypedConsts: map[string]igop.TypedConst{}, 39 UntypedConsts: map[string]igop.UntypedConst{ 40 "Char": {"untyped int", constant.MakeInt64(int64(q.Char))}, 41 "Comment": {"untyped int", constant.MakeInt64(int64(q.Comment))}, 42 "EOF": {"untyped int", constant.MakeInt64(int64(q.EOF))}, 43 "Float": {"untyped int", constant.MakeInt64(int64(q.Float))}, 44 "GoTokens": {"untyped int", constant.MakeInt64(int64(q.GoTokens))}, 45 "GoWhitespace": {"untyped int", constant.MakeInt64(int64(q.GoWhitespace))}, 46 "Ident": {"untyped int", constant.MakeInt64(int64(q.Ident))}, 47 "Int": {"untyped int", constant.MakeInt64(int64(q.Int))}, 48 "RawString": {"untyped int", constant.MakeInt64(int64(q.RawString))}, 49 "ScanChars": {"untyped int", constant.MakeInt64(int64(q.ScanChars))}, 50 "ScanComments": {"untyped int", constant.MakeInt64(int64(q.ScanComments))}, 51 "ScanFloats": {"untyped int", constant.MakeInt64(int64(q.ScanFloats))}, 52 "ScanIdents": {"untyped int", constant.MakeInt64(int64(q.ScanIdents))}, 53 "ScanInts": {"untyped int", constant.MakeInt64(int64(q.ScanInts))}, 54 "ScanRawStrings": {"untyped int", constant.MakeInt64(int64(q.ScanRawStrings))}, 55 "ScanStrings": {"untyped int", constant.MakeInt64(int64(q.ScanStrings))}, 56 "SkipComments": {"untyped int", constant.MakeInt64(int64(q.SkipComments))}, 57 "String": {"untyped int", constant.MakeInt64(int64(q.String))}, 58 }, 59 }) 60 }