xo-reader: integer arithmetic + parser + pretty-printing adds
This commit is contained in:
parent
12f5362b4d
commit
d39235c619
15 changed files with 209 additions and 14 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "xo/expression/Expression.hpp"
|
||||
#include "xo/tokenizer/token.hpp"
|
||||
#include "xo/indentlog/print/ppdetail_atomic.hpp"
|
||||
#include <stack>
|
||||
//#include <cstdint>
|
||||
|
||||
|
|
@ -145,6 +146,9 @@ namespace xo {
|
|||
/** print human-readable representation on @p os **/
|
||||
virtual void print(std::ostream & os) const;
|
||||
|
||||
/** pretty-print using @p ppii **/
|
||||
virtual bool pretty_print(const print::ppindentinfo & ppii) const;
|
||||
|
||||
// ----- input methods -----
|
||||
|
||||
/** handle incoming 'def' token **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue