OpenCPN Partial API docs
Loading...
Searching...
No Matches
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 8909 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xpath_ast_node() [1/6]

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

Definition at line 9600 of file pugixml.cpp.

◆ xpath_ast_node() [2/6]

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

Definition at line 9613 of file pugixml.cpp.

◆ xpath_ast_node() [3/6]

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

Definition at line 9625 of file pugixml.cpp.

◆ xpath_ast_node() [4/6]

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

◆ xpath_ast_node() [5/6]

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

◆ xpath_ast_node() [6/6]

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

Member Function Documentation

◆ eval_boolean()

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

Definition at line 9677 of file pugixml.cpp.

◆ eval_node_set()

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

◆ eval_number()

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

Definition at line 9803 of file pugixml.cpp.

◆ eval_string()

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

Definition at line 9977 of file pugixml.cpp.

◆ eval_string_concat()

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

Definition at line 9927 of file pugixml.cpp.

◆ is_posinv_expr()

bool xpath_ast_node::is_posinv_expr ( ) const
inline

Definition at line 10425 of file pugixml.cpp.

◆ is_posinv_step()

bool xpath_ast_node::is_posinv_step ( ) const
inline

Definition at line 10454 of file pugixml.cpp.

◆ optimize()

void xpath_ast_node::optimize ( xpath_allocator alloc)
inline

Definition at line 10343 of file pugixml.cpp.

◆ optimize_self()

void xpath_ast_node::optimize_self ( xpath_allocator alloc)
inline

Definition at line 10353 of file pugixml.cpp.

◆ rettype()

xpath_value_type xpath_ast_node::rettype ( ) const
inline

Definition at line 10466 of file pugixml.cpp.

◆ set_next()

void xpath_ast_node::set_next ( xpath_ast_node value)
inline

Definition at line 9673 of file pugixml.cpp.

◆ set_right()

void xpath_ast_node::set_right ( xpath_ast_node value)
inline

Definition at line 9675 of file pugixml.cpp.

Member Data Documentation

◆ nodetest

const char_t* xpath_ast_node::nodetest

Definition at line 8934 of file pugixml.cpp.

◆ number

double xpath_ast_node::number

Definition at line 8930 of file pugixml.cpp.

◆ string

const char_t* xpath_ast_node::string

Definition at line 8928 of file pugixml.cpp.

◆ table

const unsigned char* xpath_ast_node::table

Definition at line 8936 of file pugixml.cpp.

◆ variable

xpath_variable* xpath_ast_node::variable

Definition at line 8932 of file pugixml.cpp.


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