xo-parser: simplify: + exprstate::on_expr split from on_exprir()
This commit is contained in:
parent
cd83b6bed9
commit
514a2cb687
2 changed files with 71 additions and 10 deletions
|
|
@ -223,6 +223,10 @@ namespace xo {
|
|||
* forward instructions to parent parser
|
||||
**/
|
||||
void on_input(const token_type & tk, exprstatestack * p_stack, rp<Expression> * p_emit_expr);
|
||||
/** update exprstate in response to a successfully-parsed subexpression **/
|
||||
void on_expr(ref::brw<Expression> expr,
|
||||
exprstatestack * p_stack,
|
||||
rp<Expression> * p_emit_expr);
|
||||
/** update exprstate in response to IR (intermediate representation)
|
||||
* from nested parsing task
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue