pretty printing -- copmlete for xo::ast::GeneralizedExpression
This commit is contained in:
parent
adc0ca287e
commit
c0587aa4fb
14 changed files with 206 additions and 29 deletions
20
include/xo/reader/pretty_exprstatestack.hpp
Normal file
20
include/xo/reader/pretty_exprstatestack.hpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* file pretty_exprstatestack.hpp
|
||||
*
|
||||
* author: Roland Conybeare, Jul 2025
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "exprstatestack.hpp"
|
||||
#include "xo/indentlog/print/pretty.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace print {
|
||||
template <>
|
||||
struct ppdetail<xo::scm::exprstatestack*> {
|
||||
static inline bool print_pretty(const ppindentinfo & ppii, const xo::scm::exprstatestack * p) {
|
||||
return p->pretty_print(ppii);
|
||||
}
|
||||
};
|
||||
} /*namespace print*/
|
||||
} /*namespace xo*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue