xo-reader2: + SyntaxStateMachine.on_parsed_expression()

This commit is contained in:
Roland Conybeare 2026-01-22 15:49:07 -05:00
commit 538cc4aa4a
32 changed files with 185 additions and 0 deletions

View file

@ -79,6 +79,13 @@ namespace xo {
void on_parsed_typedescr(TypeDescr td,
ParserStateMachine * p_psm);
/** update state for this syntax after parsing an expression @p expr
* in nested state machine.
* (provided to satisfy ASyntaxStateMachine api. not reachable)
**/
void on_parsed_expression(obj<AExpression> expr,
ParserStateMachine * p_psm);
/** update state for this syntax on incoming token @p tk,
* overall parser state in @p p_psm.
**/