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

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