![]() |
Spicy
|
#include <printer.h>
Public Member Functions | |
| Stream (std::ostream &s) | |
| auto & | state () const |
| void | beginLine () |
| void | endLine () |
| void | emptyLine () |
| char | newline () const |
| bool | isExpandSubsequentType () const |
| void | setExpandSubsequentType (bool expand) |
| bool | isCompact () const |
| void | setCompact (bool compact) |
| bool | isFirstInBlock () const |
| bool | isLastInBlock () const |
| void | setPositionInBlock (bool first, bool last) |
| auto | indent () const |
| void | incrementIndent () |
| void | decrementIndent () |
| const ID & | currentScope () |
| void | pushScope (ID id) |
| void | popScope () |
| template<typename T , IF_DERIVED_FROM(T, Node) > | |
| Stream & | operator<< (T *t) |
| Stream & | operator<< (const ID &id) |
| template<typename T , IF_NOT_DERIVED_FROM(T, Node) > | |
| Stream & | operator<< (const T &t) |
| template<typename T > | |
| Stream & | operator<< (const std::pair< T, const char * > &p) |
| template<typename T > | |
| Stream & | operator<< (std::pair< T *, const char * > p) |
Friends | |
| void | printer::print (std::ostream &out, Node *root, bool compact, bool user_visible) |
Output stream formatting HILTI source code.