SymbolTable Class

Definition

Line 188 of cmsxo/Symbol.cm

Constructors & Destructor

public SymbolTable(BinaryFile* file_, bool init)
suppress SymbolTable(SymbolTable&&)
suppress SymbolTable(const SymbolTable&)

Member Functions

public void AddInternalSymbol(Symbol* internalSymbol)
public void AddInternalSymbol(Symbol* internalSymbol, bool setIndex)
public void AddSymbol(Symbol* symbol)
public void AddSymbol(Symbol* symbol, bool setIndex)
public void AddSymbolToAddressMap(Symbol* symbol)
public Symbol* GetInternalSymbol(const String<char>& name) const
public Symbol* GetRegisterSymbol(byte registerNumber) const
public Symbol* GetSymbol(const String<char>& name) const
public Symbol* GetSymbol(int index) const
public Symbol* GetSymbolByAddress(ulong absoluteAddress) const
public Symbol* GetSymbolByValue(ulong value) const
public nothrow const List<UniquePtr<Symbol>>& InternalSymbols() const
public nothrow const List<UniquePtr<Symbol>>& Symbols() const
suppress void operator=(SymbolTable&&)
suppress void operator=(const SymbolTable&)

Member Variables

private Map<ulong, Symbol*, Less<ulong>> addressMap
private BinaryFile* file
private List<UniquePtr<Symbol>> internalSymbols
private Map<String<char>, Symbol*, Less<String<char>>> internalTable
private Map<byte, Symbol*, Less<byte>> registerMap
private List<UniquePtr<Symbol>> symbols
private Map<String<char>, Symbol*, Less<String<char>>> table
private Map<ulong, Symbol*, Less<ulong>> valueMap

Constructor& Destructor Details

SymbolTable Constructor

public SymbolTable(BinaryFile* file_, bool init)

Definition
Line 190 of cmsxo/Symbol.cm


SymbolTable Constructor

suppress SymbolTable(SymbolTable&&)

Definition
Line 358 of cmsxo/Symbol.cm


SymbolTable Constructor

suppress SymbolTable(const SymbolTable&)

Definition
Line 356 of cmsxo/Symbol.cm


Member Function Details

AddInternalSymbol Member Function

public void AddInternalSymbol(Symbol* internalSymbol)

Definition
Line 473 of cmsxo/Symbol.cm


AddInternalSymbol Member Function

public void AddInternalSymbol(Symbol* internalSymbol, bool setIndex)

Definition
Line 458 of cmsxo/Symbol.cm


AddSymbol Member Function

public void AddSymbol(Symbol* symbol)

Definition
Line 446 of cmsxo/Symbol.cm


AddSymbol Member Function

public void AddSymbol(Symbol* symbol, bool setIndex)

Definition
Line 432 of cmsxo/Symbol.cm


AddSymbolToAddressMap Member Function

public void AddSymbolToAddressMap(Symbol* symbol)

Definition
Line 450 of cmsxo/Symbol.cm


GetInternalSymbol Member Function

public Symbol* GetInternalSymbol(const String<char>& name)

Definition
Line 384 of cmsxo/Symbol.cm


GetRegisterSymbol Member Function

public Symbol* GetRegisterSymbol(byte registerNumber)

Definition
Line 420 of cmsxo/Symbol.cm


GetSymbol Member Function

public Symbol* GetSymbol(const String<char>& name)

Definition
Line 372 of cmsxo/Symbol.cm


GetSymbol Member Function

public Symbol* GetSymbol(int index)

Definition
Line 368 of cmsxo/Symbol.cm


GetSymbolByAddress Member Function

public Symbol* GetSymbolByAddress(ulong absoluteAddress)

Definition
Line 396 of cmsxo/Symbol.cm


GetSymbolByValue Member Function

public Symbol* GetSymbolByValue(ulong value)

Definition
Line 408 of cmsxo/Symbol.cm


InternalSymbols Member Function

public nothrow const List<UniquePtr<Symbol>>& InternalSymbols()

Definition
Line 364 of cmsxo/Symbol.cm


Symbols Member Function

public nothrow const List<UniquePtr<Symbol>>& Symbols()

Definition
Line 360 of cmsxo/Symbol.cm


operator= Member Function

suppress void operator=(SymbolTable&&)

Definition
Line 359 of cmsxo/Symbol.cm


operator= Member Function

suppress void operator=(const SymbolTable&)

Definition
Line 357 of cmsxo/Symbol.cm