go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/iimport.go

type intReader

func (r *intReader) int64() int64 {}

func (r *intReader) uint64() uint64 {}

const iexportVersionGo1_11

const iexportVersionPosCol

const iexportVersionGenerics

const iexportVersionCurrent

type ident

const predeclReserved

type itag

const definedType

const pointerType

const sliceType

const arrayType

const chanType

const mapType

const signatureType

const structType

const interfaceType

const typeParamType

const instanceType

const unionType

// IImportData imports a package from the serialized package data
// and returns 0 and a reference to the package.
// If the export data version is not recognized or the format is otherwise
// compromised, an error is returned.
func IImportData(fset *token.FileSet, imports map[string]*types.Package, data []byte, path string) (int, *types.Package, error) {}

// IImportBundle imports a set of packages from the serialized package bundle.
func IImportBundle(fset *token.FileSet, imports map[string]*types.Package, data []byte) ([]*types.Package, error) {}

func iimportCommon(fset *token.FileSet, imports map[string]*types.Package, data []byte, bundle bool, path string) (pkgs []*types.Package, err error) {}

type iimporter

func (p *iimporter) doDecl(pkg *types.Package, name string) {}

func (p *iimporter) stringAt(off uint64) string {}

func (p *iimporter) pkgAt(off uint64) *types.Package {}

func (p *iimporter) typAt(off uint64, base *types.Named) types.Type {}

type importReader

func (r *importReader) obj(name string) {}

func (r *importReader) declare(obj types.Object) {}

func (r *importReader) value() (typ types.Type, val constant.Value) {}

func intSize(b *types.Basic) (signed bool, maxBytes uint) {}

func (r *importReader) mpint(b *types.Basic) constant.Value {}

func (r *importReader) mpfloat(b *types.Basic) constant.Value {}

func (r *importReader) ident() string {}

func (r *importReader) qualifiedIdent() (*types.Package, string) {}

func (r *importReader) pos() token.Pos {}

func (r *importReader) posv0() {}

func (r *importReader) posv1() {}

func (r *importReader) typ() types.Type {}

func isInterface(t types.Type) bool {}

func (r *importReader) pkg() *types.Package {}

func (r *importReader) string() string      {}

func (r *importReader) doType(base *types.Named) types.Type {}

func (r *importReader) kind() itag {}

func (r *importReader) signature(recv *types.Var) *types.Signature {}

func (r *importReader) tparamList() []*typeparams.TypeParam {}

func (r *importReader) paramList() *types.Tuple {}

func (r *importReader) param() *types.Var {}

func (r *importReader) bool() bool {}

func (r *importReader) int64() int64 {}

func (r *importReader) uint64() uint64 {}

func (r *importReader) byte() byte {}

func baseType(typ types.Type) *types.Named {}

func parseSubscript(name string) (string, uint64) {}