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

const debugFormat

const trace

const exportVersion

const trackAllTypes

type exporter

type internalError

func (e internalError) Error() string {}

func internalErrorf(format string, args ...interface{}

// BExportData returns binary export data for pkg.
// If no file set is provided, position info will be missing.
func BExportData(fset *token.FileSet, pkg *types.Package) (b []byte, err error) {}

func (p *exporter) pkg(pkg *types.Package, emptypath bool) {}

func (p *exporter) obj(obj types.Object) {}

func (p *exporter) pos(obj types.Object) {}

func (p *exporter) fileLine(obj types.Object) (file string, line int) {}

func commonPrefixLen(a, b string) int {}

func (p *exporter) qualifiedName(obj types.Object) {}

func (p *exporter) typ(t types.Type) {}

func (p *exporter) assocMethods(named *types.Named) {}

type methodsByName

func (x methodsByName) Len() int           {}

func (x methodsByName) Swap(i, j int)      {}

func (x methodsByName) Less(i, j int) bool {}

func (p *exporter) fieldList(t *types.Struct) {}

func (p *exporter) field(f *types.Var) {}

func (p *exporter) iface(t *types.Interface) {}

func (p *exporter) method(m *types.Func) {}

func (p *exporter) fieldName(f *types.Var) {}

func basetypeName(typ types.Type) string {}

func (p *exporter) paramList(params *types.Tuple, variadic bool) {}

func (p *exporter) value(x constant.Value) {}

func (p *exporter) float(x constant.Value) {}

func valueToRat(x constant.Value) *big.Rat {}

func (p *exporter) bool(b bool) bool {}

func (p *exporter) index(marker byte, index int) {}

func (p *exporter) tag(tag int) {}

func (p *exporter) int(x int) {}

func (p *exporter) int64(x int64) {}

func (p *exporter) string(s string) {}

// marker emits a marker byte and position information which makes
// it easy for a reader to detect if it is "out of sync". Used for
// debugFormat format only.
func (p *exporter) marker(m byte) {}

// rawInt64 should only be used by low-level encoders.
func (p *exporter) rawInt64(x int64) {}

// rawStringln should only be used to emit the initial version string.
func (p *exporter) rawStringln(s string) {}

// rawByte is the bottleneck interface to write to p.out.
// rawByte escapes b as follows (any encoding does that
// hides '$'):
//
//	'$'  => '|' 'S'
//	'|'  => '|' '|'
//
// Necessary so other tools can find the end of the
// export data by searching for "$$".
// rawByte should only be used by low-level encoders.
func (p *exporter) rawByte(b byte) {}

// tracef is like fmt.Printf but it rewrites the format string
// to take care of indentation.
func (p *exporter) tracef(format string, args ...interface{}

var tagString