add an ExprPrinter class, like ValuePrinter

To be used Shortly

Change-Id: I9def7975aa55f251eb8486391677771f7352d7ce
This commit is contained in:
Qyriad
2024-07-04 15:55:38 -06:00
parent 59bf6825ef
commit 139cfdfb53
2 changed files with 36 additions and 0 deletions
+6
View File
@@ -574,4 +574,10 @@ fmt_internal::HintFmt & fmt_internal::HintFmt::operator%(const ValuePrinter & va
return *this;
}
std::ostream & operator<<(std::ostream & output, ExprPrinter const & printer)
{
printer.expr.show(printer.state.symbols, output);
return output;
}
}