xo-reader: refactor: simplify expect_symbol_xs api

This commit is contained in:
Roland Conybeare 2024-08-18 23:43:59 -04:00
commit f8754913bb
4 changed files with 12 additions and 4 deletions

View file

@ -18,7 +18,9 @@ namespace xo {
public:
expect_symbol_xs();
static std::unique_ptr<expect_symbol_xs> expect_symbol_expression();
static std::unique_ptr<expect_symbol_xs> make();
static void start(exprstatestack * p_stack);
virtual void on_symbol_token(const token_type & tk,
exprstatestack * p_stack,