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

void throw_error (const char *message)
 
void throw_error_oom ()
 
voidalloc_node ()
 
const char_talloc_string (const xpath_lexer_string &value)
 
xpath_ast_nodeparse_function_helper (ast_type_t type0, ast_type_t type1, size_t argc, xpath_ast_node *args[2])
 
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 ()
 
 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]
 

Detailed Description

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

Member Function Documentation

void* xpath_parser::alloc_node ( )
inline

Definition at line 10939 of file pugixml.cpp.

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

Definition at line 10948 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse ( )
inline

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

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

Definition at line 11091 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_expression ( )
inline

Definition at line 11719 of file pugixml.cpp.

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

Definition at line 11671 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_filter_expression ( )
inline

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

xpath_ast_node* xpath_parser::parse_function_helper ( ast_type_t  type0,
ast_type_t  type1,
size_t  argc,
xpath_ast_node args[2] 
)
inline

Definition at line 10966 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_location_path ( )
inline

Definition at line 11506 of file pugixml.cpp.

nodetest_t xpath_parser::parse_node_test_type ( const xpath_lexer_string name)
inline

Definition at line 11159 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_path_or_unary_expression ( )
inline

Definition at line 11542 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_primary_expression ( )
inline

Definition at line 11195 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_relative_location_path ( xpath_ast_node set)
inline

Definition at line 11486 of file pugixml.cpp.

xpath_ast_node* xpath_parser::parse_step ( xpath_ast_node set)
inline

Definition at line 11331 of file pugixml.cpp.

void xpath_parser::throw_error ( const char *  message)
inline

Definition at line 10918 of file pugixml.cpp.

void xpath_parser::throw_error_oom ( )
inline

Definition at line 10930 of file pugixml.cpp.

Member Data Documentation

xpath_allocator* xpath_parser::_alloc

Definition at line 10904 of file pugixml.cpp.

xpath_lexer xpath_parser::_lexer

Definition at line 10905 of file pugixml.cpp.

const char_t* xpath_parser::_query

Definition at line 10907 of file pugixml.cpp.

xpath_parse_result* xpath_parser::_result

Definition at line 10910 of file pugixml.cpp.

char_t xpath_parser::_scratch[32]

Definition at line 10912 of file pugixml.cpp.

xpath_variable_set* xpath_parser::_variables

Definition at line 10908 of file pugixml.cpp.


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