srchilite::DelimitedLangElem Class Reference

Inherits srchilite::srchilite::StateStartLangElem.

Collaboration diagram for srchilite::DelimitedLangElem:
[legend]

List of all members.

Public Member Functions

 DelimitedLangElem (const std::string &n, StringDef *s, StringDef *e, StringDef *es, bool multi, bool nes)
virtual const std::string toString () const
 return the string representation (with preprocessing)
virtual const std::string toStringOriginal () const
 return the original representation (without any preprocessing); this is useful for printing errors
StringDefgetStart () const
StringDefgetEnd () const
StringDefgetEscape () const
bool isMultiline () const
bool isNested () const
virtual void dispatch_build (HighlightStateBuilder *, HighlightState *state)
void setExit (unsigned int level=1)
 Sets the "exit" property of this element (i.e., if the element is match then exit one state).
void setExit (unsigned int level=1)
 Sets the "exit" property of this element (i.e., if the element is match then exit one state).
void setExit (unsigned int level=1)
 Sets the "exit" property of this element (i.e., if the element is match then exit one state).
void setExit (unsigned int level=1)
 Sets the "exit" property of this element (i.e., if the element is match then exit one state).
void setExit (unsigned int level=1)
 Sets the "exit" property of this element (i.e., if the element is match then exit one state).
void setExit (unsigned int level=1)
 Sets the "exit" property of this element (i.e., if the element is match then exit one state).
void setExitAll ()
 Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state).
void setExitAll ()
 Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state).
void setExitAll ()
 Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state).
void setExitAll ()
 Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state).
void setExitAll ()
 Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state).
void setExitAll ()
 Sets the "exit all" property of this element (i.e., if the element is match then exit all states and get back to the main initial state).
bool exitAll () const
bool exitAll () const
bool exitAll () const
bool exitAll () const
bool exitAll () const
bool exitAll () const
unsigned int getExit () const
unsigned int getExit () const
unsigned int getExit () const
unsigned int getExit () const
unsigned int getExit () const
unsigned int getExit () const
StateLangElemgetStateLangElem () const
StateLangElemgetStateLangElem () const
StateLangElemgetStateLangElem () const
StateLangElemgetStateLangElem () const
StateLangElemgetStateLangElem () const
StateLangElemgetStateLangElem () const
void setStateLangElem (StateLangElem *s)
 Sets the state for which this element represents the start.
void setStateLangElem (StateLangElem *s)
 Sets the state for which this element represents the start.
void setStateLangElem (StateLangElem *s)
 Sets the state for which this element represents the start.
void setStateLangElem (StateLangElem *s)
 Sets the state for which this element represents the start.
void setStateLangElem (StateLangElem *s)
 Sets the state for which this element represents the start.
void setStateLangElem (StateLangElem *s)
 Sets the state for which this element represents the start.
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
const std::string getName () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
bool isRedef () const
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
void setRedef ()
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
bool isSubst () const
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
void setSubst ()
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
const std::string toStringParserInfo () const
virtual void dispatch_build (HighlightStateBuilder *, HighlightState *state)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
virtual void dispatch_collect_const (LangElemsPrinter *)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)

Public Attributes

std::string filename
unsigned int line

Private Attributes

StringDefstart
StringDefend
StringDefescape
bool multiline
bool nested

Constructor & Destructor Documentation

srchilite::DelimitedLangElem::DelimitedLangElem ( const std::string &  n,
StringDef s,
StringDef e,
StringDef es,
bool  multi,
bool  nes 
)
Parameters:
n the name of the element
s the starting regular expression for the element
e the ending regular expression
es the escaping sequence (if any)
multi whether this element spans multiple lines
nes whether this element can be nested

Member Function Documentation

bool srchilite::srchilite::StateStartLangElem::exitAll (  )  const [inline, inherited]
Returns:
whether the "exit" property is set
bool srchilite::srchilite::StateStartLangElem::exitAll (  )  const [inline, inherited]
Returns:
whether the "exit" property is set
bool srchilite::srchilite::StateStartLangElem::exitAll (  )  const [inline, inherited]
Returns:
whether the "exit" property is set
bool srchilite::srchilite::StateStartLangElem::exitAll (  )  const [inline, inherited]
Returns:
whether the "exit" property is set
bool srchilite::srchilite::StateStartLangElem::exitAll (  )  const [inline, inherited]
Returns:
whether the "exit" property is set
bool srchilite::srchilite::StateStartLangElem::exitAll (  )  const [inline, inherited]
Returns:
whether the "exit" property is set
StringDef* srchilite::DelimitedLangElem::getEnd (  )  const [inline]
Returns:
the ending string
StringDef* srchilite::DelimitedLangElem::getEscape (  )  const [inline]
Returns:
the escape string
unsigned int srchilite::srchilite::StateStartLangElem::getExit (  )  const [inline, inherited]
Returns:
whether the "exit all" property is set
unsigned int srchilite::srchilite::StateStartLangElem::getExit (  )  const [inline, inherited]
Returns:
whether the "exit all" property is set
unsigned int srchilite::srchilite::StateStartLangElem::getExit (  )  const [inline, inherited]
Returns:
whether the "exit all" property is set
unsigned int srchilite::srchilite::StateStartLangElem::getExit (  )  const [inline, inherited]
Returns:
whether the "exit all" property is set
unsigned int srchilite::srchilite::StateStartLangElem::getExit (  )  const [inline, inherited]
Returns:
whether the "exit all" property is set
unsigned int srchilite::srchilite::StateStartLangElem::getExit (  )  const [inline, inherited]
Returns:
whether the "exit all" property is set
StringDef* srchilite::DelimitedLangElem::getStart (  )  const [inline]
Returns:
the starting string
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem (  )  const [inline, inherited]
Returns:
the state for which this element represents the start
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem (  )  const [inline, inherited]
Returns:
the state for which this element represents the start
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem (  )  const [inline, inherited]
Returns:
the state for which this element represents the start
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem (  )  const [inline, inherited]
Returns:
the state for which this element represents the start
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem (  )  const [inline, inherited]
Returns:
the state for which this element represents the start
StateLangElem* srchilite::srchilite::StateStartLangElem::getStateLangElem (  )  const [inline, inherited]
Returns:
the state for which this element represents the start
bool srchilite::DelimitedLangElem::isMultiline (  )  const [inline]
Returns:
whether this element can span multiple lines
bool srchilite::DelimitedLangElem::isNested (  )  const [inline]
Returns:
whether this element can be nested
void srchilite::srchilite::StateStartLangElem::setExit ( unsigned int  level = 1  )  [inline, inherited]

Sets the "exit" property of this element (i.e., if the element is match then exit one state).

Parameters:
level the exit level (default to 1)
void srchilite::srchilite::StateStartLangElem::setExit ( unsigned int  level = 1  )  [inline, inherited]

Sets the "exit" property of this element (i.e., if the element is match then exit one state).

Parameters:
level the exit level (default to 1)
void srchilite::srchilite::StateStartLangElem::setExit ( unsigned int  level = 1  )  [inline, inherited]

Sets the "exit" property of this element (i.e., if the element is match then exit one state).

Parameters:
level the exit level (default to 1)
void srchilite::srchilite::StateStartLangElem::setExit ( unsigned int  level = 1  )  [inline, inherited]

Sets the "exit" property of this element (i.e., if the element is match then exit one state).

Parameters:
level the exit level (default to 1)
void srchilite::srchilite::StateStartLangElem::setExit ( unsigned int  level = 1  )  [inline, inherited]

Sets the "exit" property of this element (i.e., if the element is match then exit one state).

Parameters:
level the exit level (default to 1)
void srchilite::srchilite::StateStartLangElem::setExit ( unsigned int  level = 1  )  [inline, inherited]

Sets the "exit" property of this element (i.e., if the element is match then exit one state).

Parameters:
level the exit level (default to 1)
void srchilite::srchilite::StateStartLangElem::setStateLangElem ( StateLangElem s  )  [inline, inherited]

Sets the state for which this element represents the start.

Parameters:
s the state for which this element represents the start
void srchilite::srchilite::StateStartLangElem::setStateLangElem ( StateLangElem s  )  [inline, inherited]

Sets the state for which this element represents the start.

Parameters:
s the state for which this element represents the start
void srchilite::srchilite::StateStartLangElem::setStateLangElem ( StateLangElem s  )  [inline, inherited]

Sets the state for which this element represents the start.

Parameters:
s the state for which this element represents the start
void srchilite::srchilite::StateStartLangElem::setStateLangElem ( StateLangElem s  )  [inline, inherited]

Sets the state for which this element represents the start.

Parameters:
s the state for which this element represents the start
void srchilite::srchilite::StateStartLangElem::setStateLangElem ( StateLangElem s  )  [inline, inherited]

Sets the state for which this element represents the start.

Parameters:
s the state for which this element represents the start
void srchilite::srchilite::StateStartLangElem::setStateLangElem ( StateLangElem s  )  [inline, inherited]

Sets the state for which this element represents the start.

Parameters:
s the state for which this element represents the start
virtual const std::string srchilite::DelimitedLangElem::toString (  )  const [virtual]

return the string representation (with preprocessing)

Returns:
the string representation

Reimplemented from srchilite::srchilite::StateStartLangElem.

virtual const std::string srchilite::DelimitedLangElem::toStringOriginal (  )  const [virtual]

return the original representation (without any preprocessing); this is useful for printing errors

Returns:
the original representation

Implements srchilite::srchilite::LangElem.

const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct
const std::string srchilite::LangElem::toStringParserInfo (  )  const [inherited]
Returns:
a string representation of the ParserInfo struct

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

Generated by  doxygen 1.6.2