Classes | |
struct | binary_op_t |
Static Public Member Functions | |
static xpath_ast_node * | parse (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] |
Definition at line 11063 of file pugixml.cpp.
|
inline |
Definition at line 11935 of file pugixml.cpp.
|
inline |
Definition at line 11091 of file pugixml.cpp.
References _alloc, and xpath_allocator::allocate().
Referenced by alloc_node(), parse_expression_rec(), parse_filter_expression(), parse_function(), parse_location_path(), parse_path_or_unary_expression(), parse_primary_expression(), parse_relative_location_path(), and parse_step().
|
inline |
Definition at line 11120 of file pugixml.cpp.
References alloc_node().
|
inline |
Definition at line 11126 of file pugixml.cpp.
References alloc_node().
|
inline |
Definition at line 11096 of file pugixml.cpp.
References alloc_node().
|
inline |
Definition at line 11102 of file pugixml.cpp.
References alloc_node().
|
inline |
Definition at line 11114 of file pugixml.cpp.
References alloc_node().
|
inline |
Definition at line 11108 of file pugixml.cpp.
References alloc_node().
|
inline |
Definition at line 11132 of file pugixml.cpp.
References _alloc, xpath_allocator::allocate(), xpath_lexer_string::begin, uhal::tests::c, xpath_lexer_string::end, and PUGIXML_TEXT.
Referenced by parse_primary_expression(), and parse_step().
|
inline |
Definition at line 11075 of file pugixml.cpp.
References _lexer, _query, _result, and xpath_lexer::current_pos().
Referenced by parse(), parse_expression_rec(), parse_filter_expression(), parse_function(), parse_path_or_unary_expression(), parse_primary_expression(), and parse_step().
|
inline |
Definition at line 11083 of file pugixml.cpp.
References _alloc, and xpath_allocator::_error.
Referenced by parse_primary_expression().
|
inline |
Definition at line 11939 of file pugixml.cpp.
References _lexer, xpath_lexer::current(), error(), lex_eof, and parse_expression().
Referenced by parse().
|
inlinestatic |
Definition at line 11951 of file pugixml.cpp.
References parse().
|
inline |
Definition at line 11268 of file pugixml.cpp.
References axis_ancestor, axis_ancestor_or_self, axis_attribute, axis_child, axis_descendant, axis_descendant_or_self, axis_following, axis_following_sibling, axis_namespace, axis_parent, axis_preceding, axis_preceding_sibling, axis_self, setupTemplate::name, and PUGIXML_TEXT.
Referenced by parse_step().
|
inline |
Definition at line 11927 of file pugixml.cpp.
References parse_expression_rec(), and parse_path_or_unary_expression().
Referenced by parse(), parse_filter_expression(), parse_path_or_unary_expression(), parse_primary_expression(), and parse_step().
|
inline |
Definition at line 11876 of file pugixml.cpp.
References _lexer, alloc_node(), ast_op_union, ast_unknown, xpath_parser::binary_op_t::asttype, error(), xpath_lexer::next(), xpath_parser::binary_op_t::parse(), parse_path_or_unary_expression(), xpath_parser::binary_op_t::precedence, xpath_ast_node::rettype(), xpath_parser::binary_op_t::rettype, and pugi::xpath_type_node_set.
Referenced by parse_expression().
|
inline |
Definition at line 11478 of file pugixml.cpp.
References _lexer, alloc_node(), ast_filter, xpath_lexer::current(), error(), lex_close_square_brace, lex_open_square_brace, xpath_lexer::next(), parse_expression(), parse_primary_expression(), predicate_default, xpath_ast_node::rettype(), and pugi::xpath_type_node_set.
Referenced by parse_path_or_unary_expression().
|
inline |
Definition at line 11148 of file pugixml.cpp.
References alloc_node(), ast_func_boolean, ast_func_ceiling, ast_func_concat, ast_func_contains, ast_func_count, ast_func_false, ast_func_floor, ast_func_id, ast_func_lang, ast_func_last, ast_func_local_name_0, ast_func_local_name_1, ast_func_name_0, ast_func_name_1, ast_func_namespace_uri_0, ast_func_namespace_uri_1, ast_func_normalize_space_0, ast_func_normalize_space_1, ast_func_not, ast_func_number_0, ast_func_number_1, ast_func_position, ast_func_round, ast_func_starts_with, ast_func_string_0, ast_func_string_1, ast_func_string_length_0, ast_func_string_length_1, ast_func_substring_2, ast_func_substring_3, ast_func_substring_after, ast_func_substring_before, ast_func_sum, ast_func_translate, ast_func_true, error(), setupTemplate::name, PUGIXML_TEXT, pugi::xpath_type_boolean, pugi::xpath_type_node_set, pugi::xpath_type_number, and pugi::xpath_type_string.
Referenced by parse_primary_expression().
|
inline |
Definition at line 11704 of file pugixml.cpp.
References _lexer, alloc_node(), ast_step, ast_step_root, axis_descendant_or_self, xpath_lexer::current(), lex_axis_attribute, lex_dot, lex_double_dot, lex_double_slash, lex_multiply, lex_slash, lex_string, xpath_lexer::next(), nodetest_type_node, parse_relative_location_path(), and pugi::xpath_type_node_set.
Referenced by parse_path_or_unary_expression().
|
inline |
Definition at line 11336 of file pugixml.cpp.
References setupTemplate::name, nodetest_none, nodetest_type_comment, nodetest_type_node, nodetest_type_pi, nodetest_type_text, and PUGIXML_TEXT.
Referenced by parse_path_or_unary_expression(), and parse_step().
|
inline |
Definition at line 11744 of file pugixml.cpp.
References _lexer, alloc_node(), ast_op_negate, ast_step, axis_descendant_or_self, xpath_lexer::contents(), ct_space, xpath_lexer::current(), error(), lex_double_slash, lex_minus, lex_number, lex_open_brace, lex_quoted_string, lex_slash, lex_string, lex_var_ref, xpath_lexer::next(), nodetest_none, nodetest_type_node, parse_expression(), parse_filter_expression(), parse_location_path(), parse_node_test_type(), parse_relative_location_path(), PUGI__IS_CHARTYPE, xpath_ast_node::rettype(), xpath_lexer::state(), pugi::xpath_type_node_set, and pugi::xpath_type_number.
Referenced by parse_expression(), and parse_expression_rec().
|
inline |
Definition at line 11372 of file pugixml.cpp.
References _lexer, _scratch, _variables, alloc_node(), alloc_string(), ast_number_constant, ast_string_constant, ast_variable, xpath_lexer_string::begin, xpath_lexer::contents(), convert_string_to_number_scratch(), xpath_lexer::current(), xpath_lexer_string::end, error(), error_oom(), get_variable_scratch(), lex_close_brace, lex_comma, lex_number, lex_open_brace, lex_quoted_string, lex_string, lex_var_ref, setupTemplate::name, xpath_lexer::next(), parse_expression(), parse_function(), xpath_ast_node::set_next(), pugi::xpath_type_number, and pugi::xpath_type_string.
Referenced by parse_filter_expression().
|
inline |
Definition at line 11679 of file pugixml.cpp.
References _lexer, alloc_node(), ast_step, axis_descendant_or_self, xpath_lexer::current(), lex_double_slash, lex_slash, xpath_lexer::next(), nodetest_type_node, and parse_step().
Referenced by parse_location_path(), and parse_path_or_unary_expression().
|
inline |
Definition at line 11510 of file pugixml.cpp.
References _lexer, alloc_node(), alloc_string(), ast_predicate, ast_step, axis_attribute, axis_child, axis_parent, axis_self, xpath_lexer_string::begin, xpath_lexer::contents(), xpath_lexer::current(), xpath_lexer_string::end, error(), lex_axis_attribute, lex_close_brace, lex_close_square_brace, lex_dot, lex_double_colon, lex_double_dot, lex_multiply, lex_open_brace, lex_open_square_brace, lex_quoted_string, lex_string, xpath_lexer::next(), nodetest_all, nodetest_all_in_namespace, nodetest_name, nodetest_none, nodetest_pi, nodetest_type_node, parse_axis_name(), parse_expression(), parse_node_test_type(), predicate_default, PUGIXML_TEXT, xpath_ast_node::rettype(), xpath_ast_node::set_next(), xpath_ast_node::set_right(), and pugi::xpath_type_node_set.
Referenced by parse_relative_location_path().
xpath_allocator* xpath_parser::_alloc |
Definition at line 11065 of file pugixml.cpp.
Referenced by alloc_node(), alloc_string(), and error_oom().
xpath_lexer xpath_parser::_lexer |
Definition at line 11066 of file pugixml.cpp.
Referenced by error(), parse(), parse_expression_rec(), parse_filter_expression(), parse_location_path(), parse_path_or_unary_expression(), parse_primary_expression(), parse_relative_location_path(), and parse_step().
const char_t* xpath_parser::_query |
Definition at line 11068 of file pugixml.cpp.
Referenced by error().
xpath_parse_result* xpath_parser::_result |
Definition at line 11071 of file pugixml.cpp.
Referenced by error().
char_t xpath_parser::_scratch[32] |
Definition at line 11073 of file pugixml.cpp.
Referenced by parse_primary_expression().
xpath_variable_set* xpath_parser::_variables |
Definition at line 11069 of file pugixml.cpp.
Referenced by parse_primary_expression().