|
std::string | filename |
|
unsigned int | line |
|
|
StringDef * | start |
|
StringDef * | end |
|
StringDef * | escape |
|
bool | multiline |
|
bool | nested |
|
unsigned int | exit |
| the exit level
|
|
bool | exit_all |
| whether to exit all states
|
|
StateLangElem * | statelangelem |
| the possible State of which we represent the start.
|
|
const std::string | name |
| the name for this language element
|
|
bool | redef |
| whether this redefs an existing language element
|
|
bool | subst |
|
◆ DelimitedLangElem()
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 |
◆ dispatch_build()
◆ exitAll()
bool srchilite::StateStartLangElem::exitAll |
( |
| ) |
const |
|
inlineinherited |
- Returns
- whether the "exit" property is set
◆ getEnd()
StringDef * srchilite::DelimitedLangElem::getEnd |
( |
| ) |
const |
|
inline |
◆ getEscape()
StringDef * srchilite::DelimitedLangElem::getEscape |
( |
| ) |
const |
|
inline |
◆ getExit()
unsigned int srchilite::StateStartLangElem::getExit |
( |
| ) |
const |
|
inlineinherited |
- Returns
- whether the "exit all" property is set
◆ getStart()
StringDef * srchilite::DelimitedLangElem::getStart |
( |
| ) |
const |
|
inline |
- Returns
- the starting string
◆ getStateLangElem()
StateLangElem * srchilite::StateStartLangElem::getStateLangElem |
( |
| ) |
const |
|
inlineinherited |
- Returns
- the state for which this element represents the start
◆ isMultiline()
bool srchilite::DelimitedLangElem::isMultiline |
( |
| ) |
const |
|
inline |
- Returns
- whether this element can span multiple lines
◆ isNested()
bool srchilite::DelimitedLangElem::isNested |
( |
| ) |
const |
|
inline |
- Returns
- whether this element can be nested
◆ setExit()
void srchilite::StateStartLangElem::setExit |
( |
unsigned int |
level = 1 | ) |
|
|
inlineinherited |
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) |
◆ setStateLangElem()
void srchilite::StateStartLangElem::setStateLangElem |
( |
StateLangElem * |
s | ) |
|
|
inlineinherited |
Sets the state for which this element represents the start.
- Parameters
-
s | the state for which this element represents the start |
◆ toString()
const std::string srchilite::DelimitedLangElem::toString |
( |
| ) |
const |
|
virtual |
◆ toStringOriginal()
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::LangElem.
◆ toStringParserInfo()
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 files: