runner

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

func New

func New(packageName string, globalSymbolTable *symbolsglobal.Table, globalAllocSymbolTable *allocglobal.Table, contractTable *contracttable.Table) *Runner

func (*Runner) Run

func (r *Runner) Run() error

func (*Runner) VarTable

func (r *Runner) VarTable() *VarTable

type VarTable

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

func (VarTable) Dump

func (v VarTable) Dump()

func (*VarTable) GetField

func (v *VarTable) GetField(name, field string) (*varTableItem, bool)

func (*VarTable) GetFieldAt

func (v *VarTable) GetFieldAt(name string, idx int) (*varTableItem, bool)

func (*VarTable) GetVariable

func (v *VarTable) GetVariable(name string) (*varTableItem, bool)

func (*VarTable) Names

func (v *VarTable) Names() []string

func (*VarTable) SetField

func (v *VarTable) SetField(name, field string, item *varTableItem)

func (*VarTable) SetFieldAt

func (v *VarTable) SetFieldAt(name string, idx int, item *varTableItem)

func (*VarTable) SetVariable

func (v *VarTable) SetVariable(name string, item *varTableItem)

Jump to

Keyboard shortcuts

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