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