fcml  1.2.2
Public Member Functions | List of all members
fcml::MultiPassAssembler Class Reference

An assembler wrapper, as you can see the assembler context is managed internally and is not exposed outside. More...

#include <fcml_lag_assembler.hpp>

Inheritance diagram for fcml::MultiPassAssembler:
Inheritance graph
[legend]
Collaboration diagram for fcml::MultiPassAssembler:
Collaboration graph
[legend]

Public Member Functions

 MultiPassAssembler (Dialect &dialect)
 Creates multi-pass assembler for a dialect. More...
 
virtual ~MultiPassAssembler ()
 Virtual destructor. More...
 
fcml_ceh_error assemble (MultiPassAssemblerContext &ctx, const fcml_string *instructions, MultiPassAssemblerResult &result)
 Assembles given instruction model. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fcml::DialectAware
 DialectAware ()
 Default constructor. More...
 
virtual ~DialectAware ()
 Virtual destructor. More...
 
fcml_st_dialectextractDialect (const Dialect &dialect) const
 Extracts the native FCML dialect from the dialect object. More...
 
- Protected Member Functions inherited from fcml::SymbolTableAware
fcml_st_symbol_tableextractSymbolTable (SymbolTable &symbolTable)
 Extracts the native symbol table for the given symbol table wrapper. More...
 

Detailed Description

An assembler wrapper, as you can see the assembler context is managed internally and is not exposed outside.

Constructor & Destructor Documentation

◆ MultiPassAssembler()

fcml::MultiPassAssembler::MultiPassAssembler ( Dialect dialect)
inline

Creates multi-pass assembler for a dialect.

Parameters
dialectThe dialect for the assembler.
Exceptions
InitExceptionCannot initialize the assembler.
Since
1.1.0

◆ ~MultiPassAssembler()

virtual fcml::MultiPassAssembler::~MultiPassAssembler ( )
inlinevirtual

Virtual destructor.

Since
1.1.0

Member Function Documentation

◆ assemble()

fcml_ceh_error fcml::MultiPassAssembler::assemble ( MultiPassAssemblerContext ctx,
const fcml_string *  instructions,
MultiPassAssemblerResult result 
)
inline

Assembles given instruction model.

Parameters
ctxAssembler context.
instructionsA pointer to the NULL terminated array of the instructions.
[out]resultAssembler result.
Exceptions
AssemblingFailedExceptionAssembler failed.
Returns
Error code.
Since
1.1.0

The documentation for this class was generated from the following file: