github.com/goplus/igop@v0.25.0/pkg/go/importer/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package importer
     6  
     7  import (
     8  	q "go/importer"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "importer",
    18  		Path: "go/importer",
    19  		Deps: map[string]string{
    20  			"go/build":                  "build",
    21  			"go/internal/gccgoimporter": "gccgoimporter",
    22  			"go/internal/gcimporter":    "gcimporter",
    23  			"go/internal/srcimporter":   "srcimporter",
    24  			"go/token":                  "token",
    25  			"go/types":                  "types",
    26  			"io":                        "io",
    27  			"runtime":                   "runtime",
    28  		},
    29  		Interfaces: map[string]reflect.Type{},
    30  		NamedTypes: map[string]reflect.Type{
    31  			"Lookup": reflect.TypeOf((*q.Lookup)(nil)).Elem(),
    32  		},
    33  		AliasTypes: map[string]reflect.Type{},
    34  		Vars:       map[string]reflect.Value{},
    35  		Funcs: map[string]reflect.Value{
    36  			"Default":     reflect.ValueOf(q.Default),
    37  			"For":         reflect.ValueOf(q.For),
    38  			"ForCompiler": reflect.ValueOf(q.ForCompiler),
    39  		},
    40  		TypedConsts:   map[string]igop.TypedConst{},
    41  		UntypedConsts: map[string]igop.UntypedConst{},
    42  	})
    43  }