|
fcml 1.3.0
|
#include <fcml_parser.hpp>
Public Member Functions | |
| ParserResult () | |
| Creates an empty parser result. | |
| const ErrorContainer & | getErrors () const |
| Gets errors container with parsing errors. | |
| const Instruction & | getInstruction () const |
| Gets the parsed instruction. | |
| const Nullable< Symbol > & | getSymbol () const |
| Gets declared symbol is there is any. | |
| void | clean () |
| Cleans the parser result. | |
Protected Member Functions | |
| void | setErrors (const ErrorContainer &errors) |
| Sets error container for the context. | |
| void | setInstruction (const Instruction &instruction) |
| Sets an instruction for the container. | |
| void | setSymbol (const Nullable< Symbol > &symbol) |
| Sets symbol. | |
Friends | |
| class | Parser |
Parser result.
|
inline |
Creates an empty parser result.
|
inline |
Cleans the parser result.
|
inline |
Gets errors container with parsing errors.
|
inline |
Gets the parsed instruction.
Gets declared symbol is there is any.
|
inlineprotected |
Sets error container for the context.
| errors | A new error container. |
|
inlineprotected |
Sets an instruction for the container.
| instruction | The instruction. |
Sets symbol.
| symbol | The symbol. |