μHAL (v2.7.9)
Part of the IPbus software repository
Public Member Functions | Private Attributes | List of all members
xpath_lexer Class Reference
Collaboration diagram for xpath_lexer:
[legend]

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_stringcontents () const
 

Private Attributes

const char_t * _cur
 
const char_t * _cur_lexeme_pos
 
xpath_lexer_string _cur_lexeme_contents
 
lexeme_t _cur_lexeme
 

Detailed Description

Definition at line 9026 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xpath_lexer()

xpath_lexer::xpath_lexer ( const char_t *  query)
inlineexplicit

Definition at line 9035 of file pugixml.cpp.

References next().

Member Function Documentation

◆ contents()

const xpath_lexer_string& xpath_lexer::contents ( ) const
inline

◆ current()

lexeme_t xpath_lexer::current ( ) const
inline

◆ current_pos()

const char_t* xpath_lexer::current_pos ( ) const
inline

Definition at line 9319 of file pugixml.cpp.

References _cur_lexeme_pos.

Referenced by xpath_parser::error().

◆ next()

void xpath_lexer::next ( )
inline

◆ state()

const char_t* xpath_lexer::state ( ) const
inline

Definition at line 9040 of file pugixml.cpp.

References _cur.

Referenced by xpath_parser::parse_path_or_unary_expression().

Member Data Documentation

◆ _cur

const char_t* xpath_lexer::_cur
private

Definition at line 9028 of file pugixml.cpp.

Referenced by next(), and state().

◆ _cur_lexeme

lexeme_t xpath_lexer::_cur_lexeme
private

Definition at line 9032 of file pugixml.cpp.

Referenced by contents(), current(), and next().

◆ _cur_lexeme_contents

xpath_lexer_string xpath_lexer::_cur_lexeme_contents
private

Definition at line 9030 of file pugixml.cpp.

Referenced by contents(), and next().

◆ _cur_lexeme_pos

const char_t* xpath_lexer::_cur_lexeme_pos
private

Definition at line 9029 of file pugixml.cpp.

Referenced by current_pos(), and next().


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