Orcus
Public Types | Public Member Functions | Public Attributes | List of all members
orcus::sax::parse_token Struct Reference

Public Types

using value_type = std::variant< std::string_view, parse_error_value_t, const xml_token_element_t * >
 

Public Member Functions

 parse_token (std::string_view _characters)
 
 parse_token (parse_token_t _type, const xml_token_element_t *_element)
 
 parse_token (std::string_view msg, std::ptrdiff_t offset)
 
 parse_token (const parse_token &other)
 
parse_tokenoperator= (parse_token)=delete
 
bool operator== (const parse_token &other) const
 
bool operator!= (const parse_token &other) const
 

Public Attributes

parse_token_t type
 
value_type value