xo-reader: + sequence expression (aka beginexpr or block)

This commit is contained in:
Roland Conybeare 2024-08-20 13:32:08 -04:00
commit dad6b2562c
7 changed files with 240 additions and 8 deletions

View file

@ -33,6 +33,11 @@ namespace xo {
**/
parenexpr,
/** handle sequence expression (aka block)
* see @ref sequence_xs
**/
sequenceexpr,
expect_rhs_expression,
expect_symbol,
expect_type,
@ -146,6 +151,14 @@ namespace xo {
virtual void on_rightparen_token(const token_type & tk,
parserstatemachine * p_psm);
/** handle incoming '{' token **/
virtual void on_leftbrace_token(const token_type & tk,
parserstatemachine * p_psm);
/** handle incoming '}' token **/
virtual void on_rightbrace_token(const token_type & tk,
parserstatemachine * p_psm);
/** handle incoming operator token **/
virtual void on_operator_token(const token_type & tk,
parserstatemachine * p_psm);