utils

package
v0.0.0-...-7349574 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VarVers = make(map[ssa.Value]int)
)

Functions

This section is empty.

Types

type Definition

type Definition struct {
	Var ssa.Value
	Ver int
}

Variable definitions

func NewDef

func NewDef(v ssa.Value) *Definition

NewVarDef creates a new variable definition from an ssa.Value

func (*Definition) String

func (vd *Definition) String() string

type EmptyValue

type EmptyValue struct {
	T types.Type
}

EmptyValue is a ssa.Value placeholder for values we don't care.

func (EmptyValue) Name

func (v EmptyValue) Name() string

func (EmptyValue) Parent

func (v EmptyValue) Parent() *ssa.Function

func (EmptyValue) Pos

func (v EmptyValue) Pos() token.Pos

func (EmptyValue) Referrers

func (v EmptyValue) Referrers() *[]ssa.Instruction

func (EmptyValue) String

func (v EmptyValue) String() string

func (EmptyValue) Type

func (v EmptyValue) Type() types.Type

Jump to

Keyboard shortcuts

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