expect_type_xs: refactor: simplify api

This commit is contained in:
Roland Conybeare 2024-08-18 23:47:47 -04:00
commit 2b6b15480e
4 changed files with 12 additions and 3 deletions

View file

@ -16,11 +16,14 @@ namespace xo {
public:
expect_type_xs();
static std::unique_ptr<expect_type_xs> make();
static void start(exprstatestack * p_stack);
virtual void on_symbol_token(const token_type & tk,
exprstatestack * p_stack,
rp<Expression> * p_emit_expr) override;
private:
static std::unique_ptr<expect_type_xs> make();
};
} /*namespace scm*/
} /*namespace xo*/