xo-reader2: refactor: push token dispatch to satellite SSMs
This commit is contained in:
parent
b6ff615057
commit
e4cfb57bef
32 changed files with 590 additions and 816 deletions
|
|
@ -93,6 +93,12 @@ namespace xo {
|
|||
void on_parsed_expression_with_semicolon(obj<AExpression> expr,
|
||||
ParserStateMachine * p_psm);
|
||||
|
||||
/** operate state machine for this syntax on incoming token @p tk
|
||||
* with overall parser state in @p p_psm
|
||||
**/
|
||||
void on_token(const Token & tk,
|
||||
ParserStateMachine * p_psm);
|
||||
|
||||
/** update state for this syntax on incoming token @p tk,
|
||||
* overall parser state in @p p_psm.
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue