Assembler result which contains all assembled instructions.
More...
#include <fcml_lag_assembler.hpp>
Assembler result which contains all assembled instructions.
◆ MultiPassAssemblerResult()
fcml::MultiPassAssemblerResult::MultiPassAssemblerResult |
( |
| ) |
|
|
inline |
Default constructor.
- Since
- 1.1.0
◆ ~MultiPassAssemblerResult()
virtual fcml::MultiPassAssemblerResult::~MultiPassAssemblerResult |
( |
| ) |
|
|
inlinevirtual |
Virtual destructor.
- Since
- 1.1.0
◆ clear()
void fcml::MultiPassAssemblerResult::clear |
( |
| ) |
|
|
inline |
Clears the result.
Remember not to use the CodeIterator after the result is cleared up.
- Since
- 1.1.0
◆ getAssembledInstructions() [1/2]
const std::vector<AssembledInstruction>& fcml::MultiPassAssemblerResult::getAssembledInstructions |
( |
| ) |
const |
|
inline |
Gets constant vector of all assembled instructions.
- Returns
- Assembled instructions.
- Since
- 1.1.0
◆ getAssembledInstructions() [2/2]
Gets vector of all assembled instructions.
- Returns
- Assembled instructions.
- Since
- 1.1.0
◆ getCodeIterator()
CodeIterator fcml::MultiPassAssemblerResult::getCodeIterator |
( |
| ) |
|
|
inline |
Gets iterator which allows to iterate through the whole machine code byte by byte.
- Returns
- Iterator instance.
- Since
- 1.1.0
◆ getErrorContainer()
const ErrorContainer& fcml::MultiPassAssemblerResult::getErrorContainer |
( |
| ) |
const |
|
inline |
Gets error container.
- Returns
- Error container.
- Since
- 1.1.0
◆ getSize()
fcml_usize fcml::MultiPassAssemblerResult::getSize |
( |
| ) |
const |
|
inline |
Gets number of assembled instructions.
- Returns
- Number of assembled instructions.
- Since
- 1.1.0
◆ operator[]()
Gets one assembled instruction by its index.
- Parameters
-
index | The index of the assembled instruction. |
- Returns
- One assembled instruction at given index.
- Exceptions
-
- Since
- 1.1.0
◆ setErrorContainer()
void fcml::MultiPassAssemblerResult::setErrorContainer |
( |
const ErrorContainer & |
errorContainer | ) |
|
|
inlineprotected |
Sets new error container for the result.
- Parameters
-
errorContainer | The new error container to be set. |
- Since
- 1.1.0
◆ MultiPassAssembler
Only the assembler can modify these objects.
The documentation for this class was generated from the following file: