go/src/cmd/compile/internal/importer/ureader.go

type pkgReader

func ReadPackage(ctxt *types2.Context, imports map[string]*types2.Package, input pkgbits.PkgDecoder) *types2.Package {}

type reader

type readerDict

type readerTypeBound

func (pr *pkgReader) newReader(k pkgbits.RelocKind, idx pkgbits.Index, marker pkgbits.SyncMarker) *reader {}

func (pr *pkgReader) tempReader(k pkgbits.RelocKind, idx pkgbits.Index, marker pkgbits.SyncMarker) *reader {}

func (pr *pkgReader) retireReader(r *reader) {}

func (r *reader) pos() syntax.Pos {}

func (r *reader) posBase() *syntax.PosBase {}

func (pr *pkgReader) posBaseIdx(idx pkgbits.Index) *syntax.PosBase {}

func (r *reader) pkg() *types2.Package {}

func (pr *pkgReader) pkgIdx(idx pkgbits.Index) *types2.Package {}

func (r *reader) doPkg() *types2.Package {}

func (r *reader) typ() types2.Type {}

func (r *reader) typInfo() typeInfo {}

func (pr *pkgReader) typIdx(info typeInfo, dict *readerDict) types2.Type {}

func (r *reader) doTyp() (res types2.Type) {}

func (r *reader) structType() *types2.Struct {}

func (r *reader) unionType() *types2.Union {}

func (r *reader) interfaceType() *types2.Interface {}

func (r *reader) signature(recv *types2.Var, rtparams, tparams []*types2.TypeParam) *types2.Signature {}

func (r *reader) params() *types2.Tuple {}

func (r *reader) param() *types2.Var {}

func (r *reader) obj() (types2.Object, []types2.Type) {}

func (pr *pkgReader) objIdx(idx pkgbits.Index) (*types2.Package, string) {}

func (pr *pkgReader) objDictIdx(idx pkgbits.Index) *readerDict {}

func (r *reader) typeParamNames() []*types2.TypeParam {}

func (r *reader) method() *types2.Func {}

func (r *reader) qualifiedIdent() (*types2.Package, string) {}

func (r *reader) localIdent() (*types2.Package, string)     {}

func (r *reader) selector() (*types2.Package, string)       {}

func (r *reader) ident(marker pkgbits.SyncMarker) (*types2.Package, string) {}

// newAliasTypeName returns a new TypeName, with a materialized *types2.Alias if supported.
func newAliasTypeName(aliases bool, pos syntax.Pos, pkg *types2.Package, name string, rhs types2.Type, tparams []*types2.TypeParam) *types2.TypeName {}