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.
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

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

◆ print() [1/2]

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

◆ print() [2/2]

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