Public Member Functions | |
xpath_lexer (const char_t *query) | |
const char_t * | state () const |
void | next () |
lexeme_t | current () const |
const char_t * | current_pos () const |
const xpath_lexer_string & | contents () const |
Definition at line 6452 of file pugixml.cpp.
xpath_lexer::xpath_lexer | ( | const char_t * | query | ) | [inline, explicit] |
Definition at line 6461 of file pugixml.cpp.
References next().
const xpath_lexer_string& xpath_lexer::contents | ( | ) | const [inline] |
Definition at line 6708 of file pugixml.cpp.
References lex_number, lex_quoted_string, lex_string, and lex_var_ref.
Referenced by xpath_parser::parse_and_expression(), xpath_parser::parse_multiplicative_expression(), xpath_parser::parse_or_expression(), xpath_parser::parse_path_expression(), xpath_parser::parse_primary_expression(), and xpath_parser::parse_step().
lexeme_t xpath_lexer::current | ( | ) | const [inline] |
Definition at line 6700 of file pugixml.cpp.
Referenced by xpath_parser::parse(), xpath_parser::parse_additive_expression(), xpath_parser::parse_and_expression(), xpath_parser::parse_equality_expression(), xpath_parser::parse_filter_expression(), xpath_parser::parse_location_path(), xpath_parser::parse_multiplicative_expression(), xpath_parser::parse_or_expression(), xpath_parser::parse_path_expression(), xpath_parser::parse_primary_expression(), xpath_parser::parse_relational_expression(), xpath_parser::parse_relative_location_path(), xpath_parser::parse_step(), xpath_parser::parse_unary_expression(), and xpath_parser::parse_union_expression().
const char_t* xpath_lexer::current_pos | ( | ) | const [inline] |
Definition at line 6704 of file pugixml.cpp.
Referenced by xpath_parser::throw_error().
void xpath_lexer::next | ( | ) | [inline] |
Definition at line 6469 of file pugixml.cpp.
References xpath_lexer_string::begin, ct_space, ctx_digit, ctx_start_symbol, ctx_symbol, xpath_lexer_string::end, lex_axis_attribute, lex_close_brace, lex_close_square_brace, lex_comma, lex_dot, lex_double_colon, lex_double_dot, lex_double_slash, lex_eof, lex_equal, lex_greater, lex_greater_or_equal, lex_less, lex_less_or_equal, lex_minus, lex_multiply, lex_none, lex_not_equal, lex_number, lex_open_brace, lex_open_square_brace, lex_plus, lex_quoted_string, lex_slash, lex_string, lex_union, lex_var_ref, PUGI__IS_CHARTYPE, and PUGI__IS_CHARTYPEX.
Referenced by xpath_parser::parse_additive_expression(), xpath_parser::parse_and_expression(), xpath_parser::parse_equality_expression(), xpath_parser::parse_filter_expression(), xpath_parser::parse_location_path(), xpath_parser::parse_multiplicative_expression(), xpath_parser::parse_or_expression(), xpath_parser::parse_path_expression(), xpath_parser::parse_primary_expression(), xpath_parser::parse_relational_expression(), xpath_parser::parse_relative_location_path(), xpath_parser::parse_step(), xpath_parser::parse_unary_expression(), xpath_parser::parse_union_expression(), and xpath_lexer().
const char_t* xpath_lexer::state | ( | ) | const [inline] |
Definition at line 6465 of file pugixml.cpp.
Referenced by xpath_parser::parse_path_expression().