|
fcml
1.2.2
|
An assembler wrapper. More...
#include <fcml_assembler.hpp>


Public Member Functions | |
| Assembler (Dialect &dialect) | |
| Creates an assembler instance for given dialect. More... | |
| virtual | ~Assembler () |
| fcml_ceh_error | assemble (AssemblerContext &ctx, const Instruction &instruction, AssemblerResult &result) |
| Assembles given generic instruction model. More... | |
| Dialect & | getDialect () const |
| Gets dialect associated with the assembler. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from fcml::DialectAware | |
| DialectAware () | |
| Default constructor. More... | |
| virtual | ~DialectAware () |
| Virtual destructor. More... | |
| fcml_st_dialect * | extractDialect (const Dialect &dialect) const |
| Extracts the native FCML dialect from the dialect object. More... | |
An assembler wrapper.
As you can see the assembler instance is managed internally and is not exposed outside.
|
inline |
Creates an assembler instance for given dialect.
| dialect | The dialect for the assembler instance. |
| InitException | Cannot initialize the assembler. |
|
inlinevirtual |
|
inline |
Assembles given generic instruction model.
| ctx | The assembler context. | |
| instruction | The generic instruction model to be assembled. | |
| [out] | result | Assembler result. |
| AssemblingFailedException | Thrown if assembling fails and AssemblerConf.isThrowExceptionOnError returns true. |
|
inline |
Gets dialect associated with the assembler.
1.8.13