TraceX
 
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=NULL, xpath_ast_node *right=NULL)
 
 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
 

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

◆ xpath_ast_node() [2/6]

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

◆ xpath_ast_node() [3/6]

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

◆ xpath_ast_node() [4/6]

xpath_ast_node::xpath_ast_node ( ast_type_t type,
xpath_value_type rettype_,
xpath_ast_node * left = NULL,
xpath_ast_node * right = NULL )
inline

◆ 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

◆ 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

Member Function Documentation

◆ eval_boolean()

bool xpath_ast_node::eval_boolean ( const xpath_context & c,
const xpath_stack & stack )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ eval_number()

double xpath_ast_node::eval_number ( const xpath_context & c,
const xpath_stack & stack )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ eval_string()

xpath_string xpath_ast_node::eval_string ( const xpath_context & c,
const xpath_stack & stack )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ eval_string_concat()

xpath_string xpath_ast_node::eval_string_concat ( const xpath_context & c,
const xpath_stack & stack )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_posinv_expr()

bool xpath_ast_node::is_posinv_expr ( ) const
inline

◆ is_posinv_step()

bool xpath_ast_node::is_posinv_step ( ) const
inline
Here is the caller graph for this function:

◆ optimize()

void xpath_ast_node::optimize ( xpath_allocator * alloc)
inline
Here is the call graph for this function:

◆ optimize_self()

void xpath_ast_node::optimize_self ( xpath_allocator * alloc)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rettype()

xpath_value_type xpath_ast_node::rettype ( ) const
inline
Here is the caller graph for this function:

◆ set_next()

void xpath_ast_node::set_next ( xpath_ast_node * value)
inline
Here is the caller graph for this function:

◆ set_right()

void xpath_ast_node::set_right ( xpath_ast_node * value)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ nodetest

const char_t* xpath_ast_node::nodetest

◆ number

double xpath_ast_node::number

◆ string

const char_t* xpath_ast_node::string

◆ table

const unsigned char* xpath_ast_node::table

◆ variable

xpath_variable* xpath_ast_node::variable

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