infrastructure

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IdtoLabelTable = new(sync.Map)

Functions

func GetCurrentTableCount

func GetCurrentTableCount() int

Types

type LabelTable

type LabelTable struct {
	Verbose string
	// contains filtered or unexported fields
}

func GetSymbolTableById

func GetSymbolTableById(id int) *LabelTable

func NewLabelTable

func NewLabelTable() *LabelTable

func (*LabelTable) CreateSubSymbolTable

func (s *LabelTable) CreateSubSymbolTable(verbose ...string) *LabelTable

func (*LabelTable) GetJmpIndexByVariableId

func (s *LabelTable) GetJmpIndexByVariableId(id int) (int, bool)

func (*LabelTable) GetNameByVariableId

func (s *LabelTable) GetNameByVariableId(id int) (string, bool)

func (*LabelTable) GetParentSymbolTable

func (s *LabelTable) GetParentSymbolTable() *LabelTable

func (*LabelTable) GetSymbolByVariableName

func (s *LabelTable) GetSymbolByVariableName(name string) (int, bool)

func (*LabelTable) NewSymbolWithReturn

func (s *LabelTable) NewSymbolWithReturn(name string, codeIndex int) (int, error)

Jump to

Keyboard shortcuts

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