8#ifndef HIGHLIGHTSTATEPRINTER_H_
9#define HIGHLIGHTSTATEPRINTER_H_
20typedef std::set<int> StateIdSet;
25class HighlightStatePrinter {
35 HighlightStatePrinter(std::ostream &s = std::cout);
36 ~HighlightStatePrinter();
Base class for highlight rules.
Definition highlightrule.h:27
std::ostream & stream
the stream to print the state (default cout)
Definition highlightstateprinter.h:32
StateIdSet stateidset
to avoid infinite loops due to recursive states
Definition highlightstateprinter.h:30
int indent
the indentation level
Definition highlightstateprinter.h:28
Represents a state during the highlighting (e.g., comment state, string state, etc....
Definition highlightstate.h:47
C++ class: doctemplate.h.
Definition bufferedoutput.cpp:13
Token containing information for performing the highlight.
Definition highlighttoken.h:33