Source-highlight Library
srchilite::LangElemsPrinter Class Reference

Prints all the language elements. More...

#include <langelemsprinter.h>

Collaboration diagram for srchilite::LangElemsPrinter:

Public Member Functions

void print (const LangElems *elems, std::ostream &os)
 Prints all the elements contained in the passed LangElems to the specified ostream. More...
 
void print (const LangElems *elems, std::ostream &os)
 Prints all the elements contained in the passed LangElems to the specified ostream. More...
 
void _forward_collect (const LangElem *elem)
 
void _forward_collect (const LangElems *elem)
 
void _forward_collect (const NamedSubExpsLangElem *elem)
 
void _forward_collect (const StateLangElem *elem)
 

Protected Member Functions

branches collect void (const StateLangElem *elem)
 
 void (const LangElem *elem)
 
 void (const LangElems *elem)
 
 void (const NamedSubExpsLangElem *elem)
 
virtual void collect (const StateLangElem *elem)
 
virtual void collect (const LangElem *elem)
 
virtual void collect (const LangElems *elem)
 
virtual void collect (const NamedSubExpsLangElem *elem)
 
virtual void collect_DB (const LangElem *elem)
 
virtual void collect_DB (const LangElems *elem)
 

Private Types

typedef std::set< std::string > SetOfElements
 
typedef std::set< std::string > SetOfElements
 

Private Attributes

SetOfElements setOfElements
 

Detailed Description

Prints all the language elements.

his class uses dynamic overloading and it must be processed by doublecpp, http://doublecpp.sf.net, in case you need to modify it.

Member Function Documentation

void srchilite::LangElemsPrinter::print ( const LangElems elems,
std::ostream &  os 
)

Prints all the elements contained in the passed LangElems to the specified ostream.

Parameters
elems
os
void srchilite::LangElemsPrinter::print ( const LangElems elems,
std::ostream &  os 
)

Prints all the elements contained in the passed LangElems to the specified ostream.

Parameters
elems
os

The documentation for this class was generated from the following files: