ddc
Public Member Functions | Protected Attributes | List of all members
TinyXPath::token_redef Class Reference
Inheritance diagram for TinyXPath::token_redef:
Inheritance graph
[legend]
Collaboration diagram for TinyXPath::token_redef:
Collaboration graph
[legend]

Public Member Functions

 token_redef (xpath_stream *xsp_in)
 constructor More...
 
virtual void v_action (xpath_construct xc_rule, unsigned u_sub, unsigned u_variable=0, const char *cp_literal="")
 dispatcher of the xpath_stream::v_action More...
 
virtual int i_get_action_counter ()
 dispatcher of the xpath_stream::i_get_action_counter More...
 
- Public Member Functions inherited from TinyXPath::token_syntax_decoder
 token_syntax_decoder ()
 
virtual ~ token_syntax_decoder ()
 
void v_syntax_decode ()
 
- Public Member Functions inherited from TinyXPath::token_list
 token_list ()
 constructor More...
 
virtual ~ token_list ()
 destructor More...
 
void v_add_token (lexico l_in_enum, const _byte_ *bp_in_value, unsigned u_in_size)
 Adds a lexical token. More...
 
void v_set_current_top ()
 Set current to first real element. More...
 
void v_set_current (lex_token *ltp_cur)
 Set current. More...
 
lex_tokenltp_freeze ()
 Return the current token. More...
 
lex_tokenltp_get (int i_offset)
 Get next X linear token. More...
 
void v_inc_current (int i_rel)
 Increments the linear counter. More...
 
void v_replace_current (lexico lex_in, const char *cp_rep)
 Replaces the current element. More...
 
void v_delete_current ()
 Deletes the current element. More...
 
void v_delete_next ()
 Deletes the next element. More...
 
void v_tokenize_expression ()
 

Protected Attributes

xpath_streamxsp_stream
 pointer to an xpath_stream instance More...
 
- Protected Attributes inherited from TinyXPath::token_syntax_decoder
unsigned u_nb_recurs
 Nb of recursions. More...
 
- Protected Attributes inherited from TinyXPath::token_list
lex_tokenltp_first
 Pointer to first element. More...
 
lex_tokenltp_last
 Pointer to last element. More...
 
lex_tokenltp_current
 

Additional Inherited Members

- Protected Member Functions inherited from TinyXPath::token_syntax_decoder
bool o_recognize (xpath_construct xc_current, bool o_final)
 

Detailed Description

Redefinition of a token_syntax_decoder, with an xpath_stream pointer
We could have made this a double dependency on token_syntax_decoder and xpath_stream, but this is not good pratice IMHO

Constructor & Destructor Documentation

◆ token_redef()

TinyXPath::token_redef::token_redef ( xpath_stream xsp_in)
inline

constructor

Parameters
xsp_inPointer to an xpath_stream instance

Member Function Documentation

◆ v_action()

virtual void TinyXPath::token_redef::v_action ( xpath_construct  xc_rule,
unsigned  u_sub,
unsigned  u_variable = 0,
const char *  cp_literal = "" 
)
inlinevirtual

◆ i_get_action_counter()

virtual int TinyXPath::token_redef::i_get_action_counter ( )
inlinevirtual

dispatcher of the xpath_stream::i_get_action_counter

Implements TinyXPath::token_syntax_decoder.

References i_get_action_counter().

Referenced by i_get_action_counter().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ xsp_stream

xpath_stream* TinyXPath::token_redef::xsp_stream
protected

pointer to an xpath_stream instance


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