xo-reader2: + PSM,SSM on_parsed_formal_arglist()
This commit is contained in:
parent
2f9d49b083
commit
554c01ffad
48 changed files with 283 additions and 3 deletions
|
|
@ -114,6 +114,12 @@ namespace xo {
|
|||
TypeDescr param_type,
|
||||
ParserStateMachine * p_psm);
|
||||
|
||||
/** consume formal params @p arglist from completed nested ssm,
|
||||
* with overall parser state in @p p_psm.
|
||||
**/
|
||||
void on_parsed_formal_arglist(DArray * arglist,
|
||||
ParserStateMachine * p_psm);
|
||||
|
||||
/** update state on parsed expression emitted by nested ssm
|
||||
* with overall parser state in @p p_psm
|
||||
**/
|
||||
|
|
@ -144,7 +150,7 @@ namespace xo {
|
|||
private:
|
||||
/** parsing state-machine state **/
|
||||
formalarglstatetype fastate_ = formalarglstatetype::argl_0;
|
||||
/** populate with (parmaeter-name, parameter-type) list
|
||||
/** populate with (parameter-name, parameter-type) list
|
||||
* as they're encountered.
|
||||
*
|
||||
* Not using flexible array here since we don't know size at construction time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue