Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::PrettyPrinter Class Reference

#include <bond/tools/prettyprinter.h>

Public Types

enum  Verbosity { VERBOSITY_NORMAL , VERBOSITY_MINIMAL }
 
enum  ConstantFolding { CONSTANT_FOLDING_OFF , CONSTANT_FOLDING_ON }
 

Public Member Functions

void Print (const ParseNode *parseNode, OutputStream &stream, Verbosity verbosity=VERBOSITY_NORMAL, ConstantFolding folding=CONSTANT_FOLDING_OFF) const
 
void PrintList (const ListParseNode *listNode, OutputStream &stream, Verbosity verbosity=VERBOSITY_NORMAL, ConstantFolding folding=CONSTANT_FOLDING_OFF) const
 

Member Enumeration Documentation

◆ ConstantFolding

Enumerator
CONSTANT_FOLDING_OFF 
CONSTANT_FOLDING_ON 

◆ Verbosity

Enumerator
VERBOSITY_NORMAL 
VERBOSITY_MINIMAL 

Member Function Documentation

◆ Print()

void Bond::PrettyPrinter::Print ( const ParseNode parseNode,
OutputStream stream,
Verbosity  verbosity = VERBOSITY_NORMAL,
ConstantFolding  folding = CONSTANT_FOLDING_OFF 
) const

◆ PrintList()

void Bond::PrettyPrinter::PrintList ( const ListParseNode listNode,
OutputStream stream,
Verbosity  verbosity = VERBOSITY_NORMAL,
ConstantFolding  folding = CONSTANT_FOLDING_OFF 
) const

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