Prints all the language elements. More...
#include <langelemsprinter.h>
Public Member Functions | |
void | print (const LangElems *elems, std::ostream &os) |
Prints all the elements contained in the passed LangElems to the specified ostream. | |
void | print (const LangElems *elems, std::ostream &os) |
Prints all the elements contained in the passed LangElems to the specified ostream. | |
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 |
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.
void srchilite::LangElemsPrinter::print | ( | const LangElems * | elems, | |
std::ostream & | os | |||
) |
Prints all the elements contained in the passed LangElems to the specified ostream.
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.
elems | ||
os |