xpath_ast_node Class Reference

Collaboration diagram for xpath_ast_node:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 xpath_ast_node (ast_type_t type, xpath_value_type rettype_, const char_t *value)
 xpath_ast_node (ast_type_t type, xpath_value_type rettype_, double value)
 xpath_ast_node (ast_type_t type, xpath_value_type rettype_, xpath_variable *value)
 xpath_ast_node (ast_type_t type, xpath_value_type rettype_, xpath_ast_node *left=0, xpath_ast_node *right=0)
 xpath_ast_node (ast_type_t type, xpath_ast_node *left, axis_t axis, nodetest_t test, const char_t *contents)
void set_next (xpath_ast_node *value)
void set_right (xpath_ast_node *value)
bool eval_boolean (const xpath_context &c, const xpath_stack &stack)
double eval_number (const xpath_context &c, const xpath_stack &stack)
xpath_string eval_string_concat (const xpath_context &c, const xpath_stack &stack)
xpath_string eval_string (const xpath_context &c, const xpath_stack &stack)
xpath_node_set_raw eval_node_set (const xpath_context &c, const xpath_stack &stack)
bool is_posinv ()
xpath_value_type rettype () const


Detailed Description

Definition at line 6810 of file pugixml.cpp.


Constructor & Destructor Documentation

xpath_ast_node::xpath_ast_node ( ast_type_t  type,
xpath_value_type  rettype_,
const char_t *  value 
) [inline]

Definition at line 7337 of file pugixml.cpp.

References ast_string_constant.

xpath_ast_node::xpath_ast_node ( ast_type_t  type,
xpath_value_type  rettype_,
double  value 
) [inline]

Definition at line 7343 of file pugixml.cpp.

References ast_number_constant.

xpath_ast_node::xpath_ast_node ( ast_type_t  type,
xpath_value_type  rettype_,
xpath_variable *  value 
) [inline]

Definition at line 7349 of file pugixml.cpp.

References ast_variable.

xpath_ast_node::xpath_ast_node ( ast_type_t  type,
xpath_value_type  rettype_,
xpath_ast_node left = 0,
xpath_ast_node right = 0 
) [inline]

Definition at line 7355 of file pugixml.cpp.

xpath_ast_node::xpath_ast_node ( ast_type_t  type,
xpath_ast_node left,
axis_t  axis,
nodetest_t  test,
const char_t *  contents 
) [inline]

Definition at line 7359 of file pugixml.cpp.


Member Function Documentation

bool xpath_ast_node::eval_boolean ( const xpath_context c,
const xpath_stack stack 
) [inline]

xpath_node_set_raw xpath_ast_node::eval_node_set ( const xpath_context c,
const xpath_stack stack 
) [inline]

double xpath_ast_node::eval_number ( const xpath_context c,
const xpath_stack stack 
) [inline]

xpath_string xpath_ast_node::eval_string ( const xpath_context c,
const xpath_stack stack 
) [inline]

xpath_string xpath_ast_node::eval_string_concat ( const xpath_context c,
const xpath_stack stack 
) [inline]

Definition at line 7610 of file pugixml.cpp.

References xpath_allocator::allocate(), ast_func_concat, count, eval_string(), xpath_stack::result, and xpath_stack::temp.

Referenced by eval_string().

Here is the call graph for this function:

Here is the caller graph for this function:

bool xpath_ast_node::is_posinv (  )  [inline]

Definition at line 7974 of file pugixml.cpp.

References ast_filter, ast_filter_posinv, ast_func_position, ast_number_constant, ast_predicate, ast_step, ast_step_root, ast_string_constant, ast_variable, and is_posinv().

Referenced by is_posinv(), and xpath_parser::parse_filter_expression().

Here is the call graph for this function:

Here is the caller graph for this function:

xpath_value_type xpath_ast_node::rettype (  )  const [inline]

Definition at line 8003 of file pugixml.cpp.

Referenced by xpath_parser::parse_filter_expression(), xpath_parser::parse_path_expression(), and xpath_parser::parse_union_expression().

Here is the caller graph for this function:

void xpath_ast_node::set_next ( xpath_ast_node value  )  [inline]

Definition at line 7364 of file pugixml.cpp.

Referenced by xpath_parser::parse_primary_expression(), and xpath_parser::parse_step().

Here is the caller graph for this function:

void xpath_ast_node::set_right ( xpath_ast_node value  )  [inline]

Definition at line 7368 of file pugixml.cpp.

Referenced by xpath_parser::parse_step().

Here is the caller graph for this function:


Member Data Documentation

const char_t* xpath_ast_node::nodetest

Definition at line 6834 of file pugixml.cpp.

Definition at line 6830 of file pugixml.cpp.

const char_t* xpath_ast_node::string

Definition at line 6828 of file pugixml.cpp.

xpath_variable* xpath_ast_node::variable

Definition at line 6832 of file pugixml.cpp.


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

Generated on Thu Jul 6 00:32:04 2017 for Moses by  doxygen 1.5.9