srchilite::HighlightStatePrinter Class Reference

Prints an HighlightState (and all its rules). More...

#include <highlightstateprinter.h>

Collaboration diagram for srchilite::HighlightStatePrinter:
[legend]

List of all members.

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)


Detailed Description

Prints an HighlightState (and all its rules).
The documentation for this class was generated from the following files:

Generated on Sun Jun 14 18:23:26 2009 for Source-highlight Library by  doxygen 1.5.9