xo-reader: rename+: exprstate.on_singleassign() + explicit token

This commit is contained in:
Roland Conybeare 2024-08-09 13:21:18 -04:00
commit 2cff2b5ca7
8 changed files with 19 additions and 9 deletions

View file

@ -138,7 +138,9 @@ namespace xo {
virtual void on_semicolon_token(const token_type & tk,
exprstatestack * p_stack,
rp<Expression> * p_emit_expr);
virtual void on_singleassign(exprstatestack * p_stack);
/** handle incoming '=' token **/
virtual void on_singleassign_token(const token_type & tk,
exprstatestack * p_stack);
virtual void on_leftparen(exprstatestack * p_stack,
rp<Expression> * p_emit_expr);
virtual void on_rightparen(exprstatestack * p_stack,