Parser result.
More...
#include <fcml_parser.hpp>
Parser result.
- Since
- 1.1.0
◆ ParserResult()
fcml::ParserResult::ParserResult |
( |
| ) |
|
|
inline |
Creates an empty parser result.
- Since
- 1.1.0
◆ clean()
void fcml::ParserResult::clean |
( |
| ) |
|
|
inline |
Cleans the parser result.
- Since
- 1.1.0
◆ getErrors()
Gets errors container with parsing errors.
- Returns
- Errors container.
- Since
- 1.1.0
◆ getInstruction()
const Instruction& fcml::ParserResult::getInstruction |
( |
| ) |
const |
|
inline |
Gets the parsed instruction.
- Returns
- The parsed instruction.
- Since
- 1.1.0
◆ getSymbol()
Gets declared symbol is there is any.
- Returns
- Gets symbol if there is any.
- Since
- 1.1.0
◆ setErrors()
Sets error container for the context.
- Parameters
-
errors | A new error container. |
- Since
- 1.1.0
◆ setInstruction()
void fcml::ParserResult::setInstruction |
( |
const Instruction & |
instruction | ) |
|
|
inlineprotected |
Sets an instruction for the container.
- Parameters
-
instruction | The instruction. |
- Since
- 1.1.0
◆ setSymbol()
void fcml::ParserResult::setSymbol |
( |
const Nullable< Symbol > & |
symbol | ) |
|
|
inlineprotected |
Sets symbol.
- Parameters
-
- Since
- 1.1.0
The documentation for this class was generated from the following file: