HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xpath_ast_node Class Reference

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)
 
 xpath_ast_node (ast_type_t type, xpath_ast_node *left, xpath_ast_node *right, predicate_t test)
 
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, nodeset_eval_t eval)
 
void optimize (xpath_allocator *alloc)
 
void optimize_self (xpath_allocator *alloc)
 
bool is_posinv_expr () const
 
bool is_posinv_step () const
 
xpath_value_type rettype () const
 

Detailed Description

Definition at line 9292 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 10042 of file pugixml.cpp.

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

Definition at line 10049 of file pugixml.cpp.

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

Definition at line 10056 of file pugixml.cpp.

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 10063 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 10068 of file pugixml.cpp.

xpath_ast_node::xpath_ast_node ( ast_type_t  type,
xpath_ast_node left,
xpath_ast_node right,
predicate_t  test 
)
inline

Definition at line 10075 of file pugixml.cpp.

Member Function Documentation

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

Definition at line 10091 of file pugixml.cpp.

xpath_node_set_raw xpath_ast_node::eval_node_set ( const xpath_context c,
const xpath_stack stack,
nodeset_eval_t  eval 
)
inline

Definition at line 10648 of file pugixml.cpp.

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

Definition at line 10229 of file pugixml.cpp.

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

Definition at line 10415 of file pugixml.cpp.

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

Definition at line 10366 of file pugixml.cpp.

bool xpath_ast_node::is_posinv_expr ( ) const
inline

Definition at line 10850 of file pugixml.cpp.

bool xpath_ast_node::is_posinv_step ( ) const
inline

Definition at line 10881 of file pugixml.cpp.

void xpath_ast_node::optimize ( xpath_allocator alloc)
inline

Definition at line 10776 of file pugixml.cpp.

void xpath_ast_node::optimize_self ( xpath_allocator alloc)
inline

Definition at line 10790 of file pugixml.cpp.

xpath_value_type xpath_ast_node::rettype ( ) const
inline

Definition at line 10896 of file pugixml.cpp.

void xpath_ast_node::set_next ( xpath_ast_node value)
inline

Definition at line 10081 of file pugixml.cpp.

void xpath_ast_node::set_right ( xpath_ast_node value)
inline

Definition at line 10086 of file pugixml.cpp.

Member Data Documentation

const char_t* xpath_ast_node::nodetest

Definition at line 9319 of file pugixml.cpp.

double xpath_ast_node::number

Definition at line 9315 of file pugixml.cpp.

const char_t* xpath_ast_node::string

Definition at line 9313 of file pugixml.cpp.

const unsigned char* xpath_ast_node::table

Definition at line 9321 of file pugixml.cpp.

xpath_variable* xpath_ast_node::variable

Definition at line 9317 of file pugixml.cpp.


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