Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TinyXPath::lex_token Class Reference

A lexical token stream, part of a single linked list. More...

#include <lex_token.h>

Collaboration diagram for TinyXPath::lex_token:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 lex_token (lexico l_in_enum, const _byte_ *bp_in_value, unsigned u_in_size)
 constructor

void v_set_next (lex_token *ltp_in_next)
 set the next element in list

void v_set_prev (lex_token *ltp_in_prev)
 set the previous element in list

 ~lex_token ()
 destructor. doesn't destroys next in list

lex_tokenltp_get_next () const
 get next in list

lex_tokenltp_get_prev () const
 get next in list

lex_tokenltp_get_next (int i_nb)
 Return the next i-th element in the list.

lexico lex_get_value () const
 return the value of a lexical element

void v_set (lexico lex_in, const char *cp_repre)
 Set the string value of a lexical element.

const char * cp_get_literal ()
 return the string value of a lexical element

bool o_is_valid () const
 check if the lexical element is valid


Private Attributes

char * cp_value
 Representation.

lexico l_enum
 lexical value

lex_tokenltp_next
 pointer to next element

lex_tokenltp_prev
 pointer to next element


Detailed Description

A lexical token stream, part of a single linked list.


Constructor & Destructor Documentation

TinyXPath::lex_token::lex_token lexico  l_in_enum,
const _byte_ bp_in_value,
unsigned  u_in_size
[inline]
 

constructor

TinyXPath::lex_token::~lex_token  )  [inline]
 

destructor. doesn't destroys next in list


Member Function Documentation

const char* TinyXPath::lex_token::cp_get_literal  )  [inline]
 

return the string value of a lexical element

lexico TinyXPath::lex_token::lex_get_value  )  const [inline]
 

return the value of a lexical element

lex_token* TinyXPath::lex_token::ltp_get_next int  i_nb  )  [inline]
 

Return the next i-th element in the list.

lex_token* TinyXPath::lex_token::ltp_get_next  )  const [inline]
 

get next in list

lex_token* TinyXPath::lex_token::ltp_get_prev  )  const [inline]
 

get next in list

bool TinyXPath::lex_token::o_is_valid  )  const [inline]
 

check if the lexical element is valid

void TinyXPath::lex_token::v_set lexico  lex_in,
const char *  cp_repre
[inline]
 

Set the string value of a lexical element.

void TinyXPath::lex_token::v_set_next lex_token ltp_in_next  )  [inline]
 

set the next element in list

void TinyXPath::lex_token::v_set_prev lex_token ltp_in_prev  )  [inline]
 

set the previous element in list


Member Data Documentation

char* TinyXPath::lex_token::cp_value [private]
 

Representation.

lexico TinyXPath::lex_token::l_enum [private]
 

lexical value

lex_token* TinyXPath::lex_token::ltp_next [private]
 

pointer to next element

lex_token * TinyXPath::lex_token::ltp_prev [private]
 

pointer to next element


The documentation for this class was generated from the following file:
Generated for TinyXPath by doxygen SourceForge Logo