Class UnparseFormat#

Class Documentation#

class UnparseFormat#

Public Functions

UnparseFormat &operator<<(std::string out)#
UnparseFormat &operator<<(int num)#
UnparseFormat &operator<<(short num)#
UnparseFormat &operator<<(unsigned short num)#
UnparseFormat &operator<<(unsigned int num)#
UnparseFormat &operator<<(long num)#
UnparseFormat &operator<<(unsigned long num)#
UnparseFormat &operator<<(long long num)#
UnparseFormat &operator<<(unsigned long long num)#
UnparseFormat &operator<<(float num)#
UnparseFormat &operator<<(double num)#
UnparseFormat &operator<<(long double num)#
inline int current_line() const#
inline int current_col() const#
inline int current_indent() const#
inline bool line_is_empty() const#
void insert_newline(int i = 1, int indent = -1)#
void reset_chars_on_line()#
UnparseFormat(std::ostream *_os = NULL, UnparseFormatHelp *help = NULL)#
~UnparseFormat()#
UnparseFormat(const UnparseFormat &X)#
UnparseFormat &operator=(const UnparseFormat &X)#
void format(SgLocatedNode*, SgUnparse_Info &info, FormatOpt opt = FORMAT_BEFORE_STMT)#

the ultimate formatting functions

inline void flush()#
void set_linewrap(int w)#
int get_linewrap() const#
inline void set_indentstop(int s)#
inline int get_indentstop() const#
std::string formatOptionToString(FormatOpt opt)#
void outputHiddenListData(Unparser *unp, SgScopeStatement *inputScope)#
inline std::ostream *output_stream()#