xo-reader2: + DFormalArgSsm printable facet

This commit is contained in:
Roland Conybeare 2026-01-28 18:04:08 -05:00
commit e7d4c4ae28
8 changed files with 135 additions and 19 deletions

View file

@ -48,6 +48,7 @@ namespace xo {
public:
using TypeDescr = xo::reflect::TypeDescr;
using DArena = xo::mm::DArena;
using ppindentinfo = xo::print::ppindentinfo;
public:
DExpectFormalArgSsm();
@ -97,6 +98,13 @@ namespace xo {
ParserStateMachine * p_psm);
///@}
/** @defgroup scm-expectformalargssm-printable-facet printable facet methods **/
///@{
/** pretty-printing support **/
bool pretty(const ppindentinfo & ppii) const;
///@}
#ifdef NOT_YET
@ -117,8 +125,6 @@ namespace xo {
virtual void on_typedescr(TypeDescr td,
parserstatemachine * p_psm) override;
virtual void print(std::ostream & os) const override;
private:
static std::unique_ptr<expect_formal_xs> make();
#endif