xo-reader: + DDefineSsm + utest
This commit is contained in:
parent
301a7c7623
commit
b5d2f3efab
21 changed files with 219 additions and 28 deletions
|
|
@ -40,6 +40,10 @@ namespace xo {
|
|||
obj<AExpression> result_expr() const { return result_expr_; }
|
||||
const DString * error_description() const { return error_description_; }
|
||||
|
||||
bool is_incomplete() const { return result_type_ == parser_result_type::none; }
|
||||
bool is_expression() const { return result_type_ == parser_result_type::expression; }
|
||||
bool is_error() const { return result_type_ == parser_result_type::error; }
|
||||
|
||||
private:
|
||||
parser_result_type result_type_ = parser_result_type::none;
|
||||
obj<AExpression> result_expr_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue