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

#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 IDcurrentScope ()
 
void pushScope (ID id)
 
void popScope ()
 
template<typename T , IF_DERIVED_FROM(T, Node) >
Streamoperator<< (T *t)
 
Streamoperator<< (const ID &id)
 
template<typename T , IF_NOT_DERIVED_FROM(T, Node) >
Streamoperator<< (const T &t)
 
template<typename T >
Streamoperator<< (const std::pair< T, const char * > &p)
 
template<typename T >
Streamoperator<< (std::pair< T *, const char * > p)
 

Friends

void printer::print (std::ostream &out, Node *root, bool compact, bool user_visible)
 

Detailed Description

Output stream formatting HILTI source code.


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