github.com/goplus/gossa@v0.3.25/pkg/go/scanner/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package scanner 6 7 import ( 8 q "go/scanner" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "scanner", 19 Path: "go/scanner", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "fmt": "fmt", 23 "go/token": "token", 24 "io": "io", 25 "path/filepath": "filepath", 26 "sort": "sort", 27 "strconv": "strconv", 28 "unicode": "unicode", 29 "unicode/utf8": "utf8", 30 }, 31 Interfaces: map[string]reflect.Type{}, 32 NamedTypes: map[string]gossa.NamedType{ 33 "Error": {reflect.TypeOf((*q.Error)(nil)).Elem(), "Error", ""}, 34 "ErrorHandler": {reflect.TypeOf((*q.ErrorHandler)(nil)).Elem(), "", ""}, 35 "ErrorList": {reflect.TypeOf((*q.ErrorList)(nil)).Elem(), "Err,Error,Len,Less,Sort,Swap", "Add,RemoveMultiples,Reset"}, 36 "Mode": {reflect.TypeOf((*q.Mode)(nil)).Elem(), "", ""}, 37 "Scanner": {reflect.TypeOf((*q.Scanner)(nil)).Elem(), "", "Init,Scan,digits,error,errorf,findLineEnd,next,peek,scanComment,scanEscape,scanIdentifier,scanNumber,scanRawString,scanRune,scanString,skipWhitespace,switch2,switch3,switch4,updateLineInfo"}, 38 }, 39 AliasTypes: map[string]reflect.Type{}, 40 Vars: map[string]reflect.Value{}, 41 Funcs: map[string]reflect.Value{ 42 "PrintError": reflect.ValueOf(q.PrintError), 43 }, 44 TypedConsts: map[string]gossa.TypedConst{ 45 "ScanComments": {reflect.TypeOf(q.ScanComments), constant.MakeInt64(int64(q.ScanComments))}, 46 }, 47 UntypedConsts: map[string]gossa.UntypedConst{}, 48 }) 49 }