xo-reader: + sequence expression (aka beginexpr or block)
This commit is contained in:
parent
e712169daa
commit
dad6b2562c
7 changed files with 240 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue