results

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PkgRes

type PkgRes struct {
	PkgPath string

	Start    memory.Loc
	MemModel *memory.Model // provides memory.Loc operations
	// contains filtered or unexported fields
}

PkgRes represents results for a package.

func NewPkgRes

func NewPkgRes(pkgPath string, vs indexing.T) *PkgRes

func (*PkgRes) PlainDecode

func (pkg *PkgRes) PlainDecode(r io.Reader) error

func (*PkgRes) PlainEncode

func (pkg *PkgRes) PlainEncode(w io.Writer) error

type T

type T struct {
	// contains filtered or unexported fields
}

func New

func New() (*T, error)

New generates a new results.T object for managing pointer analysis results.

func (*T) AFact

func (t *T) AFact()

AFact satisfying golang.org/x/tools/go/analysis's Facts.

Using this in that framework makes it analyse package dependencies before analyzing the respective package.

func (*T) Lookup

func (t *T) Lookup(pkgPath string) *PkgRes

func (*T) Put

func (t *T) Put(pkgName string, pkgR *PkgRes) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL