#include <lex_token.h>
A lexical token stream, part of a single linked list
TinyXPath::lex_token::~lex_token | ( | ) | [inline] |
destructor. doesn't destroys next in list
References cp_value.
void TinyXPath::lex_token::v_set_next | ( | lex_token * | ltp_in_next | ) | [inline] |
set the next element in list
References ltp_next.
void TinyXPath::lex_token::v_set_prev | ( | lex_token * | ltp_in_prev | ) | [inline] |
set the previous element in list
References ltp_prev.
lex_token* TinyXPath::lex_token::ltp_get_next | ( | ) | const [inline] |
get next in list
References ltp_next.
Referenced by ltp_get_next().
lex_token* TinyXPath::lex_token::ltp_get_prev | ( | ) | const [inline] |
get next in list
References ltp_prev.
lex_token* TinyXPath::lex_token::ltp_get_next | ( | int | i_nb | ) | [inline] |
Return the next i-th element in the list.
References ltp_get_next(), and o_is_valid().
lexico TinyXPath::lex_token::lex_get_value | ( | ) | const [inline] |
return the value of a lexical element
References l_enum.
void TinyXPath::lex_token::v_set | ( | lexico | lex_in, | |
const char * | cp_repre | |||
) | [inline] |
const char* TinyXPath::lex_token::cp_get_literal | ( | ) | [inline] |
return the string value of a lexical element
References cp_value.
bool TinyXPath::lex_token::o_is_valid | ( | ) | const [inline] |
check if the lexical element is valid
References l_enum, and TinyXPath::lex_null.
Referenced by ltp_get_next().
char* TinyXPath::lex_token::cp_value [private] |
Representation.
Referenced by cp_get_literal(), lex_token(), v_set(), and ~lex_token().
lexico TinyXPath::lex_token::l_enum [private] |
lexical value
Referenced by lex_get_value(), lex_token(), o_is_valid(), and v_set().
lex_token* TinyXPath::lex_token::ltp_next [private] |
pointer to next element
Referenced by lex_token(), ltp_get_next(), and v_set_next().
lex_token * TinyXPath::lex_token::ltp_prev [private] |
Referenced by lex_token(), ltp_get_prev(), and v_set_prev().