srchilite::LangElem Class Referenceabstract
Inheritance diagram for srchilite::LangElem:
Collaboration diagram for srchilite::LangElem:
Public Member Functions
LangElem (const std::string &n)
const std::string getName () const
virtual const std::string
toString () const
return the string representation (with preprocessing)
More...
return the original representation (without any preprocessing); this is useful for printing errors
More...
bool isRedef () const
void setRedef ()
bool isSubst () const
void setSubst ()
void
setParserInfo (const std::string &
name, unsigned int l)
Public Attributes
std::string filename
unsigned int line
Private Attributes
the name for this language element
whether this redefs an existing language element
bool subst
Member Function Documentation
virtual const std::string srchilite::LangElem::toString
(
)
const
inlinevirtual
return the string representation (with preprocessing)
- Returns
- the string representation
virtual const std::string srchilite::LangElem::toStringOriginal
(
)
const
pure virtual
return the original representation (without any preprocessing); this is useful for printing errors
- Returns
- the original representation
const std::string srchilite::LangElem::toStringParserInfo
(
)
const
- Returns
- a string representation of the ParserInfo struct
The documentation for this class was generated from the following file:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/langelem.h