collection of LangElem objects
More...
|
void | add (LangElem *el) |
| Adds a new element at the end of this collection. More...
|
|
void | redef (LangElem *el) |
| Redefines all the possible occurrences of elements (which will be removed) with the same name with the new element (which will be added at the end of this collection) More...
|
|
void | subst (LangElem *el) |
| Replaces the first occurrence of element (with the same name) with the new one; all the other possible occurrences of elements will be removed. More...
|
|
const std::string | toString () const |
| return the string representation (with preprocessing) of all the elements More...
|
|
const std::string | toStringOriginal () const |
| return the original representation (without any preprocessing) of all the elements; this is useful for printing errors More...
|
|
virtual void | dispatch_collect_const (LangElemsPrinter *) |
|
|
typedef LangElemsBase | base |
|
typedef base::iterator | Pointer |
|
typedef list< Pointer > | PointerList |
|
typedef map< string, PointerList > | ElemMap |
|
collection of LangElem objects
void srchilite::LangElems::add |
( |
LangElem * |
el | ) |
|
Adds a new element at the end of this collection.
- Parameters
-
void srchilite::LangElems::redef |
( |
LangElem * |
el | ) |
|
Redefines all the possible occurrences of elements (which will be removed) with the same name with the new element (which will be added at the end of this collection)
- Parameters
-
void srchilite::LangElems::subst |
( |
LangElem * |
el | ) |
|
Replaces the first occurrence of element (with the same name) with the new one; all the other possible occurrences of elements will be removed.
- Parameters
-
const string srchilite::LangElems::toString |
( |
| ) |
const |
return the string representation (with preprocessing) of all the elements
- Returns
- the string representation
const string srchilite::LangElems::toStringOriginal |
( |
| ) |
const |
return the original representation (without any preprocessing) of all the elements; this is useful for printing errors
- Returns
- the original representation
The documentation for this class was generated from the following files:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/langelemsprinter.cpp
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/langelems.cpp