Source-highlight Library
srchilite::HighlightStatePrinter Class Reference

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

#include <highlightstateprinter.h>

Collaboration diagram for srchilite::HighlightStatePrinter:

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:
  • /cygdrive/d/a/scallywag/source-highlight/source-highlight-3.1.9-1.x86_64/src/source-highlight-3.1.9/lib/srchilite/highlightstateprinter.h
  • /cygdrive/d/a/scallywag/source-highlight/source-highlight-3.1.9-1.x86_64/src/source-highlight-3.1.9/lib/srchilite/highlightstateprinter.cpp