ERAV: Entity Relation Attribute Value:
|
#include <ERAV.h>
Public Member Functions | |
parser (const char *XML, std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S) | |
parser (const std::string &XML, std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S) | |
void | set (const char *XML, std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S) |
void | set (const std::string &XML, std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S) |
~parser () | |
void | parse () |
Private Member Functions | |
void | real_set (const char *XML, std::list< ERAV::tuple > &L, ERAV::WORD &W, ERAV::WORD &S, bool makeCopy) |
void | match (int num) |
void | error (const char *msg) |
void | all () |
all : head docs; | |
void | head () |
head : "<?" "xml" args "?>" | /* empty */; | |
void | docs () |
docs : doc docs | /* empty */; | |
void | doc () |
doc : '<' ID args nest; | |
void | nest (ID_val) |
nest : "/>" | '>' docs "</" ID "/>"; | |
void | args () |
args : arg args | /* empty */; | |
void | arg () |
arg : ID '=' STRING; | |
void | pushContext () |
void | setAttrib () |
void | popContext () |
void | setAttribVal () |
void | emit () |
parser (const parser &) | |
void | operator= (const parser &) |
Private Attributes | |
token * | m_lookahead |
token | token1 |
token | token2 |
const char * | m_XML |
bool | deleteXML |
const char * | m_yytext |
int | m_yyleng |
int | m_yyline |
const char * | m_cursor |
context * | m_context |
context * | m_context_old |
int | m_id |
int | m_nest_id |
int | m_tag |
int | m_attrib |
char | m_rel_type |
std::string | m_str_val |
int | m_attrib_ref |
int | m_id_word |
bool | m_inWord |
char | m_lang [4] |
std::list< ERAV::tuple > * | m_L |
ERAV::WORD * | m_WORD |
ERAV::WORD * | m_STRING |
Friends | |
class | exception |
ERAV::parser::parser | ( | const char * | XML, |
std::list< ERAV::tuple > & | L, | ||
ERAV::WORD & | W, | ||
ERAV::WORD & | S | ||
) | [inline] |
ERAV::parser::parser | ( | const std::string & | XML, |
std::list< ERAV::tuple > & | L, | ||
ERAV::WORD & | W, | ||
ERAV::WORD & | S | ||
) | [inline] |
ERAV::parser::parser | ( | const parser & | ) | [private] |
void ERAV::parser::set | ( | const char * | XML, |
std::list< ERAV::tuple > & | L, | ||
ERAV::WORD & | W, | ||
ERAV::WORD & | S | ||
) | [inline] |
void ERAV::parser::set | ( | const std::string & | XML, |
std::list< ERAV::tuple > & | L, | ||
ERAV::WORD & | W, | ||
ERAV::WORD & | S | ||
) | [inline] |
void ERAV::parser::real_set | ( | const char * | XML, |
std::list< ERAV::tuple > & | L, | ||
ERAV::WORD & | W, | ||
ERAV::WORD & | S, | ||
bool | makeCopy | ||
) | [private] |
void ERAV::parser::head | ( | ) | [private] |
void ERAV::parser::docs | ( | ) | [private] |
void ERAV::parser::doc | ( | ) | [private] |
void ERAV::parser::nest | ( | ID_val | ) | [private] |
void ERAV::parser::args | ( | ) | [private] |
void ERAV::parser::operator= | ( | const parser & | ) | [private] |
token* ERAV::parser::m_lookahead [private] |
token ERAV::parser::token1 [private] |
token ERAV::parser::token2 [private] |
const char* ERAV::parser::m_XML [private] |
bool ERAV::parser::deleteXML [private] |
const char* ERAV::parser::m_yytext [private] |
int ERAV::parser::m_yyleng [private] |
int ERAV::parser::m_yyline [private] |
const char* ERAV::parser::m_cursor [private] |
context* ERAV::parser::m_context [private] |
context* ERAV::parser::m_context_old [private] |
int ERAV::parser::m_id [private] |
int ERAV::parser::m_nest_id [private] |
int ERAV::parser::m_tag [private] |
int ERAV::parser::m_attrib [private] |
char ERAV::parser::m_rel_type [private] |
std::string ERAV::parser::m_str_val [private] |
int ERAV::parser::m_attrib_ref [private] |
int ERAV::parser::m_id_word [private] |
bool ERAV::parser::m_inWord [private] |
char ERAV::parser::m_lang[4] [private] |
std::list<ERAV::tuple>* ERAV::parser::m_L [private] |
ERAV::WORD* ERAV::parser::m_WORD [private] |
ERAV::WORD* ERAV::parser::m_STRING [private] |