#include <xpath_syntax.h>
Inheritance diagram for TinyXPath::token_syntax_decoder:


Public Member Functions | |
| token_syntax_decoder () | |
| virtual | ~token_syntax_decoder () |
| void | v_syntax_decode () |
| Decodes the syntax of an XPath expression. | |
| virtual void | v_action (xpath_construct xc_rule, unsigned u_sub, unsigned u_variable=0, const char *cp_literal="")=0 |
| Pure virtual : action taken when processing the rule. | |
| virtual int | i_get_action_counter ()=0 |
Protected Member Functions | |
| bool | o_recognize (xpath_construct xc_current, bool o_final) |
| Recognize one XPath construction This function throws exceptions every time there's a failure in a backtracking attempt. | |
Protected Attributes | |
| unsigned | u_nb_recurs |
| Nb of recursions. | |
Pure virtual : one need to redefine v_action and i_get_action_counter
|
|
|
|
|
|
|
|
Implemented in TinyXPath::token_redef. |
|
||||||||||||
|
Recognize one XPath construction This should only happen when o_final is false, otherwise we have a syntax error
|
|
||||||||||||||||||||
|
Pure virtual : action taken when processing the rule.
Implemented in TinyXPath::token_redef. |
|
|
Decodes the syntax of an XPath expression.
On entry, the lexical analysis has already produced a list of basic tokens. |
|
|
Nb of recursions.
|