Spicy
Public Member Functions | List of all members
hilti::printer::Stream Class Reference

Public Member Functions

 Stream (std::ostream &s, bool _compact)
 
void beginLine ()
 
void endLine ()
 
void emptyLine ()
 
char newline () const
 
const IDcurrentScope () const
 
void pushScope (ID id)
 
void popScope ()
 
bool isCompact ()
 
bool setCompact (bool new_compact)
 
bool isExpandSubsequentType () const
 
void setExpandSubsequentType (bool expand)
 
bool isFirstInBlock () const
 
bool isLastInBlock () const
 
void setPositionInBlock (bool first, bool last)
 
auto indent () const
 
void incrementIndent ()
 
void decrementIndent ()
 
template<typename T , IF_DERIVED_FROM(T, trait::isNode) >
Streamoperator<< (const T &t)
 
template<typename T , IF_NOT_DERIVED_FROM(T, trait::isNode) >
Streamoperator<< (const T &t)
 
template<typename T >
Streamoperator<< (std::pair< T, const char *> p)
 

The documentation for this class was generated from the following file: