fcml
1.2.2
|
#include <fcml_parser.hpp>
Public Member Functions | |
Parser (const Dialect &dialect) | |
Creates a parser instance for the given dialect. More... | |
fcml_ceh_error | parse (ParserContext &ctx, const fcml_cstring &instruction, ParserResult &parserResult) |
Parses instruction given in the parameters. 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... | |
Protected Member Functions inherited from fcml::SymbolTableAware | |
fcml_st_symbol_table & | extractSymbolTable (SymbolTable &symbolTable) |
Extracts the native symbol table for the given symbol table wrapper. More... | |
Parser wrapper.
|
inline |
Creates a parser instance for the given dialect.
dialect | The dialect instance. |
|
inline |
Parses instruction given in the parameters.
ctx | Parser context. | |
instruction | Instruction mnemonic. | |
[out] | parserResult | Instruction result. |
ParsingFailedException | Parsing failed. |