github.com/goplus/igop@v0.25.0/pkg/go/doc/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package doc 6 7 import ( 8 q "go/doc" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "doc", 19 Path: "go/doc", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "fmt": "fmt", 23 "go/ast": "ast", 24 "go/token": "token", 25 "internal/lazyregexp": "lazyregexp", 26 "io": "io", 27 "path": "path", 28 "sort": "sort", 29 "strconv": "strconv", 30 "strings": "strings", 31 "text/template": "template", 32 "unicode": "unicode", 33 "unicode/utf8": "utf8", 34 }, 35 Interfaces: map[string]reflect.Type{}, 36 NamedTypes: map[string]reflect.Type{ 37 "Example": reflect.TypeOf((*q.Example)(nil)).Elem(), 38 "Filter": reflect.TypeOf((*q.Filter)(nil)).Elem(), 39 "Func": reflect.TypeOf((*q.Func)(nil)).Elem(), 40 "Mode": reflect.TypeOf((*q.Mode)(nil)).Elem(), 41 "Note": reflect.TypeOf((*q.Note)(nil)).Elem(), 42 "Package": reflect.TypeOf((*q.Package)(nil)).Elem(), 43 "Type": reflect.TypeOf((*q.Type)(nil)).Elem(), 44 "Value": reflect.TypeOf((*q.Value)(nil)).Elem(), 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{ 48 "IllegalPrefixes": reflect.ValueOf(&q.IllegalPrefixes), 49 }, 50 Funcs: map[string]reflect.Value{ 51 "Examples": reflect.ValueOf(q.Examples), 52 "IsPredeclared": reflect.ValueOf(q.IsPredeclared), 53 "New": reflect.ValueOf(q.New), 54 "NewFromFiles": reflect.ValueOf(q.NewFromFiles), 55 "Synopsis": reflect.ValueOf(q.Synopsis), 56 "ToHTML": reflect.ValueOf(q.ToHTML), 57 "ToText": reflect.ValueOf(q.ToText), 58 }, 59 TypedConsts: map[string]igop.TypedConst{ 60 "AllDecls": {reflect.TypeOf(q.AllDecls), constant.MakeInt64(int64(q.AllDecls))}, 61 "AllMethods": {reflect.TypeOf(q.AllMethods), constant.MakeInt64(int64(q.AllMethods))}, 62 "PreserveAST": {reflect.TypeOf(q.PreserveAST), constant.MakeInt64(int64(q.PreserveAST))}, 63 }, 64 UntypedConsts: map[string]igop.UntypedConst{}, 65 }) 66 }