table

package
v0.0.0-...-d69f115 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageContracts

type PackageContracts map[string][]contracts.Contract

func (*PackageContracts) UnmarshalJSON

func (pc *PackageContracts) UnmarshalJSON(b []byte) error

type Table

type Table struct {
	Contracts   PackageContracts `json:"contracts"`
	PackageName string           `json:"packagename"`
	// contains filtered or unexported fields
}

func New

func New(packageName, symbolTableDir, goVersion string) *Table

func (*Table) AddContract

func (t *Table) AddContract(contract contracts.Contract)

func (*Table) DropPrefixContracts

func (t *Table) DropPrefixContracts(prefix string)

func (*Table) List

func (t *Table) List() map[string][]contracts.Contract

func (*Table) NewVirtualVar

func (t *Table) NewVirtualVar() *typevars.Variable

func (*Table) SetPrefix

func (t *Table) SetPrefix(prefix string)

func (*Table) UnsetPrefix

func (t *Table) UnsetPrefix()

Jump to

Keyboard shortcuts

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