#include <SchemeParser.h>
Public Member Functions | |
const BOOST_SPIRIT_NAMESPACE::parse_info & | getParseInfo () const |
const icl_core::Scheme & | getSchemeResult () const |
Returns the parser result. | |
bool | parseScheme (const String &str) |
SchemeParser () | |
Constructor. | |
~SchemeParser () | |
Destructor. | |
Static Public Member Functions | |
static bool | parseScheme (const String &str, Scheme &scheme_handler, BOOST_SPIRIT_NAMESPACE::parse_info<> &info) |
Private Attributes | |
BOOST_SPIRIT_NAMESPACE::parse_info | m_info |
icl_core::Scheme | m_scheme |
A SchemeParser object will parse a given string. Yet, this class is not as generic as possible, meaning that parsing rules are defined internally, not given from outside.
Definition at line 145 of file SchemeParser.h.
Constructor.
Definition at line 121 of file SchemeParser.cpp.
Destructor.
Definition at line 126 of file SchemeParser.cpp.
const BOOST_SPIRIT_NAMESPACE::parse_info & icl_core::SchemeParser::getParseInfo | ( | ) | const |
Return the information struct holding the details of the last parse.
Definition at line 135 of file SchemeParser.cpp.
const icl_core::Scheme & icl_core::SchemeParser::getSchemeResult | ( | ) | const |
Returns the parser result.
Definition at line 140 of file SchemeParser.cpp.
bool icl_core::SchemeParser::parseScheme | ( | const String & | str | ) |
Parse the given string.
true
if full parse was accomplished. Definition at line 130 of file SchemeParser.cpp.
bool icl_core::SchemeParser::parseScheme | ( | const String & | str, |
Scheme & | scheme_handler, | ||
BOOST_SPIRIT_NAMESPACE::parse_info<> & | info | ||
) | [static] |
Static method, provided for convenience.
Definition at line 145 of file SchemeParser.cpp.
BOOST_SPIRIT_NAMESPACE::parse_info icl_core::SchemeParser::m_info [private] |
Definition at line 202 of file SchemeParser.h.
Definition at line 204 of file SchemeParser.h.