Public Member Functions | Private Attributes

TinyXPath::lex_token Class Reference

#include <lex_token.h>

Collaboration diagram for TinyXPath::lex_token:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Private Attributes


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

References cp_value, l_enum, ltp_next, and ltp_prev.

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

destructor. doesn't destroys next in list

References cp_value.


Member Function Documentation

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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]

Set the string value of a lexical element.

References cp_value, and l_enum.

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().

Here is the caller graph for this function:


Member Data Documentation

Representation.

Referenced by cp_get_literal(), lex_token(), v_set(), and ~lex_token().

lexical value

Referenced by lex_get_value(), lex_token(), o_is_valid(), and v_set().

pointer to next element

Referenced by lex_token(), ltp_get_next(), and v_set_next().

Referenced by lex_token(), ltp_get_prev(), and v_set_prev().


The documentation for this class was generated from the following file: