LIMA
Libre Multilingual Analyzer — C++ API
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 9541 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 10292 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 10299 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 10306 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 10313 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 10318 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 10325 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 10341 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 10904 of file pugixml.cpp.

◆ eval_number()

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

Definition at line 10481 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 10661 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 10619 of file pugixml.cpp.

◆ is_posinv_expr()

bool xpath_ast_node::is_posinv_expr ( ) const
inline

Definition at line 11116 of file pugixml.cpp.

◆ is_posinv_step()

bool xpath_ast_node::is_posinv_step ( ) const
inline

Definition at line 11147 of file pugixml.cpp.

◆ optimize()

void xpath_ast_node::optimize ( xpath_allocator *  alloc)
inline

Definition at line 11036 of file pugixml.cpp.

◆ optimize_self()

void xpath_ast_node::optimize_self ( xpath_allocator *  alloc)
inline

Definition at line 11051 of file pugixml.cpp.

◆ rettype()

xpath_value_type xpath_ast_node::rettype ( ) const
inline

Definition at line 11162 of file pugixml.cpp.

◆ set_next()

void xpath_ast_node::set_next ( xpath_ast_node *  value)
inline

Definition at line 10331 of file pugixml.cpp.

◆ set_right()

void xpath_ast_node::set_right ( xpath_ast_node *  value)
inline

Definition at line 10336 of file pugixml.cpp.

Member Data Documentation

◆ nodetest

const char_t* xpath_ast_node::nodetest

Definition at line 9568 of file pugixml.cpp.

◆ number

double xpath_ast_node::number

Definition at line 9564 of file pugixml.cpp.

◆ string

const char_t* xpath_ast_node::string

Definition at line 9562 of file pugixml.cpp.

◆ table

const unsigned char* xpath_ast_node::table

Definition at line 9570 of file pugixml.cpp.

◆ variable

xpath_variable* xpath_ast_node::variable

Definition at line 9566 of file pugixml.cpp.


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