Source-highlight Library
|
Prints an HighlightState (and all its rules) More...
#include <highlightstateprinter.h>
Public Member Functions | |
HighlightStatePrinter (std::ostream &s=std::cout) | |
void | printHighlightState (const HighlightState *state) |
void | printHighlightRule (const HighlightRule *rule) |
void | printHighlightToken (const HighlightToken *token) |
Private Attributes | |
int | indent |
the indentation level | |
StateIdSet | stateidset |
to avoid infinite loops due to recursive states | |
std::ostream & | stream |
the stream to print the state (default cout) | |
Prints an HighlightState (and all its rules)