gotools/internal/gcimporter/ureader_yes.go

type pkgReader

// later adds a function to be invoked at the end of import reading.
func (pr *pkgReader) later(fn func()) {}

type derivedInfo

type typeInfo

func UImportData(fset *token.FileSet, imports map[string]*types.Package, data []byte, path string) (_ int, pkg *types.Package, err error) {}

// laterFor adds a function to be invoked at the end of import reading, and records the type that function is finishing.
func (pr *pkgReader) laterFor(t types.Type, fn func()) {}

// readUnifiedPackage reads a package description from the given
// unified IR export data decoder.
func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package {}

type reader

type readerDict

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() token.Pos {}

func (r *reader) posBase() string {}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// pkgScope returns pkg.Scope().
// If pkg is nil, it returns types.Universe instead.
//
// TODO(mdempsky): Remove after x/tools can depend on Go 1.19.
func pkgScope(pkg *types.Package) *types.Scope {}

// See cmd/compile/internal/types.SplitVargenSuffix.
func splitVargenSuffix(name string) (base, suffix string) {}