Source-highlight Library
Public Member Functions | Private Attributes | List of all members
srchilite::HighlightStatePrinter Class Reference

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

#include <highlightstateprinter.h>

Collaboration diagram for srchilite::HighlightStatePrinter:
Collaboration graph
[legend]

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:
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/highlightstateprinter.h
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/highlightstateprinter.cpp

AltStyle によって変換されたページ (->オリジナル) /