xo-reader: refactor: + parserstatemachine; use for def_expr

This commit is contained in:
Roland Conybeare 2024-08-19 00:44:34 -04:00
commit 034dac7dfd
11 changed files with 69 additions and 18 deletions

View file

@ -63,6 +63,7 @@ namespace xo {
return os;
}
class parserstatemachine;
class exprstatestack;
class formal_arg;
@ -120,7 +121,7 @@ namespace xo {
/** handle incoming 'def' token **/
virtual void on_def_token(const token_type & tk,
exprstatestack * p_stack);
parserstatemachine * p_psm);
/** handle incoming 'lambda' token **/
virtual void on_lambda_token(const token_type & tk,
exprstatestack * p_stack,