HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xpath_parser Struct Reference

Classes

struct  binary_op_t
 

Public Member Functions

xpath_ast_nodeerror (const char *message)
 
xpath_ast_nodeerror_oom ()
 
xpath_ast_nodeerror_rec ()
 
voidalloc_node ()
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, const char_t *value)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, double value)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, xpath_variable *value)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, xpath_ast_node *left=0, xpath_ast_node *right=0)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_ast_node *left, axis_t axis, nodetest_t test, const char_t *contents)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_ast_node *left, xpath_ast_node *right, predicate_t test)
 
const char_talloc_string (const xpath_lexer_string &value)
 
xpath_ast_nodeparse_function (const xpath_lexer_string &name, size_t argc, xpath_ast_node *args[2])
 
axis_t parse_axis_name (const xpath_lexer_string &name, bool &specified)
 
nodetest_t parse_node_test_type (const xpath_lexer_string &name)
 
xpath_ast_nodeparse_primary_expression ()
 
xpath_ast_nodeparse_filter_expression ()
 
xpath_ast_nodeparse_step (xpath_ast_node *set)
 
xpath_ast_nodeparse_relative_location_path (xpath_ast_node *set)
 
xpath_ast_nodeparse_location_path ()
 
xpath_ast_nodeparse_path_or_unary_expression ()
 
xpath_ast_nodeparse_expression_rec (xpath_ast_node *lhs, int limit)
 
xpath_ast_nodeparse_expression (int limit=0)
 
 xpath_parser (const char_t *query, xpath_variable_set *variables, xpath_allocator *alloc, xpath_parse_result *result)
 
xpath_ast_nodeparse ()
 

Static Public Member Functions

static xpath_ast_nodeparse (const char_t *query, xpath_variable_set *variables, xpath_allocator *alloc, xpath_parse_result *result)
 

Public Attributes

xpath_allocator_alloc
 
xpath_lexer _lexer
 
const char_t_query
 
xpath_variable_set * _variables
 
xpath_parse_result * _result
 
char_t _scratch [32]
 
size_t _depth
 

Detailed Description

Definition at line 11177 of file pugixml.cpp.

Constructor & Destructor Documentation

xpath_parser::xpath_parser ( const char_t query,
xpath_variable_set *  variables,
xpath_allocator alloc,
xpath_parse_result *  result 
)
inline

Definition at line 12098 of file pugixml.cpp.

Member Function Documentation

void* xpath_parser::alloc_node ( )
inline

Definition at line 11212 of file pugixml.cpp.

xpath_ast_node* xpath_parser::alloc_node ( ast_type_t  type,
xpath_value_type  rettype,
const char_t value 
)
inline

Definition at line 11217 of file pugixml.cpp.

xpath_ast_node* xpath_parser::alloc_node ( ast_type_t  type,
xpath_value_type  rettype,
double  value 
)
inline

Definition at line 11223 of file pugixml.cpp.

xpath_ast_node* xpath_parser::alloc_node ( ast_type_t  type,
xpath_value_type  rettype,
xpath_variable *  value 
)
inline

Definition at line 11229 of file pugixml.cpp.

xpath_ast_node* xpath_parser::alloc_node ( ast_type_t  type,
xpath_value_type  rettype,
xpath_ast_node left = 0,
xpath_ast_node right = 0 
)
inline

Definition at line 11235 of file pugixml.cpp.

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

Definition at line 11241 of file pugixml.cpp.

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

Definition at line 11247 of file pugixml.cpp.

const char_t* xpath_parser::alloc_string ( const xpath_lexer_string value)
inline

Definition at line 11253 of file pugixml.cpp.

xpath_ast_node* xpath_parser::error ( const char *  message)
inline

Definition at line 11191 of file pugixml.cpp.

xpath_ast_node* xpath_parser::error_oom ( )
inline

Definition at line 11199 of file pugixml.cpp.

xpath_ast_node* xpath_parser::error_rec ( )
inline

Definition at line 11207 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse ( )
inline

Definition at line 12102 of file pugixml.cpp.

static xpath_ast_node* xpath_parser::parse ( const char_t query,
xpath_variable_set *  variables,
xpath_allocator alloc,
xpath_parse_result *  result 
)
inlinestatic

Definition at line 12116 of file pugixml.cpp.

axis_t xpath_parser::parse_axis_name ( const xpath_lexer_string name,
bool &  specified 
)
inline

Definition at line 11389 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_expression ( int  limit = 0)
inline

Definition at line 12081 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_expression_rec ( xpath_ast_node lhs,
int  limit 
)
inline

Definition at line 12027 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_filter_expression ( )
inline

Definition at line 11606 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_function ( const xpath_lexer_string name,
size_t  argc,
xpath_ast_node args[2] 
)
inline

Definition at line 11269 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_location_path ( )
inline

Definition at line 11855 of file pugixml.cpp.

nodetest_t xpath_parser::parse_node_test_type ( const xpath_lexer_string name)
inline

Definition at line 11457 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_path_or_unary_expression ( )
inline

Definition at line 11895 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_primary_expression ( )
inline

Definition at line 11493 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_relative_location_path ( xpath_ast_node set)
inline

Definition at line 11821 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_step ( xpath_ast_node set)
inline

Definition at line 11645 of file pugixml.cpp.

Member Data Documentation

xpath_allocator* xpath_parser::_alloc

Definition at line 11179 of file pugixml.cpp.

size_t xpath_parser::_depth

Definition at line 11189 of file pugixml.cpp.

xpath_lexer xpath_parser::_lexer

Definition at line 11180 of file pugixml.cpp.

const char_t* xpath_parser::_query

Definition at line 11182 of file pugixml.cpp.

xpath_parse_result* xpath_parser::_result

Definition at line 11185 of file pugixml.cpp.

char_t xpath_parser::_scratch[32]

Definition at line 11187 of file pugixml.cpp.

xpath_variable_set* xpath_parser::_variables

Definition at line 11183 of file pugixml.cpp.


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