Documentation ¶
Index ¶
- Variables
- func GetCurrentTableCount() int
- type LabelTable
- func (s *LabelTable) CreateSubSymbolTable(verbose ...string) *LabelTable
- func (s *LabelTable) GetJmpIndexByVariableId(id int) (int, bool)
- func (s *LabelTable) GetNameByVariableId(id int) (string, bool)
- func (s *LabelTable) GetParentSymbolTable() *LabelTable
- func (s *LabelTable) GetSymbolByVariableName(name string) (int, bool)
- func (s *LabelTable) NewSymbolWithReturn(name string, codeIndex int) (int, error)
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)
Click to show internal directories.
Click to hide internal directories.