libqasm
library for handling cQASM files
|
Parse result information. More...
Public Attributes | |
ast::One< ast::Root > | root |
Root node of the AST, if analysis was sufficiently successful. More... | |
std::vector< std::string > | errors |
List of accumulated errors. More... | |
Parse result information.
Definition at line 28 of file cqasm-v1-parse-helper.hpp.
#include <cqasm-v1-parse-helper.hpp>
Root node of the AST, if analysis was sufficiently successful.
This may be set even if parsing was not ENTIRELY successful, in which case it will contain one or more error nodes.
Definition at line 36 of file cqasm-v1-parse-helper.hpp.
std::vector<std::string> cqasm::v1::parser::ParseResult::errors |
List of accumulated errors.
Analysis was successful if and only if errors.empty()
.
Definition at line 42 of file cqasm-v1-parse-helper.hpp.