Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::re_detail::basic_regex_parser< charT, traits > Class Template Reference

#include <basic_regex_parser.hpp>

Inheritance diagram for boost::re_detail::basic_regex_parser< charT, traits >:
Collaboration diagram for boost::re_detail::basic_regex_parser< charT, traits >:

Public Member Functions

 basic_regex_parser (regex_data< charT, traits > *data)
 
void parse (const charT *p1, const charT *p2, unsigned flags)
 
void fail (regex_constants::error_type error_code, std::ptrdiff_t position)
 
void fail (regex_constants::error_type error_code, std::ptrdiff_t position, std::string message, std::ptrdiff_t start_pos)
 
void fail (regex_constants::error_type error_code, std::ptrdiff_t position, const std::string &message)
 
bool parse_all ()
 
bool parse_basic ()
 
bool parse_extended ()
 
bool parse_literal ()
 
bool parse_open_paren ()
 
bool parse_basic_escape ()
 
bool parse_extended_escape ()
 
bool parse_match_any ()
 
bool parse_repeat (std::size_t low=0, std::size_t high=(std::numeric_limits< std::size_t >::max)())
 
bool parse_repeat_range (bool isbasic)
 
bool parse_alt ()
 
bool parse_set ()
 
bool parse_backref ()
 
void parse_set_literal (basic_char_set< charT, traits > &char_set)
 
bool parse_inner_set (basic_char_set< charT, traits > &char_set)
 
bool parse_QE ()
 
bool parse_perl_extension ()
 
bool add_emacs_code (bool negate)
 
bool unwind_alts (std::ptrdiff_t last_paren_start)
 
digraph< charT > get_next_set_literal (basic_char_set< charT, traits > &char_set)
 
charT unescape_character ()
 
regex_constants::syntax_option_type parse_options ()
 
std::ptrdiff_t getoffset (void *addr)
 
std::ptrdiff_t getoffset (const void *addr, const void *base)
 
re_syntax_basegetaddress (std::ptrdiff_t off)
 
re_syntax_basegetaddress (std::ptrdiff_t off, void *base)
 
void init (unsigned l_flags)
 
regbase::flag_type flags ()
 
void flags (regbase::flag_type f)
 
re_syntax_baseappend_state (syntax_element_type t, std::size_t s=sizeof(re_syntax_base))
 
re_syntax_baseinsert_state (std::ptrdiff_t pos, syntax_element_type t, std::size_t s=sizeof(re_syntax_base))
 
re_literalappend_literal (charT c)
 
re_syntax_baseappend_set (const basic_char_set< charT, traits > &char_set)
 
re_syntax_baseappend_set (const basic_char_set< charT, traits > &char_set, mpl::false_ *)
 
re_syntax_baseappend_set (const basic_char_set< charT, traits > &char_set, mpl::true_ *)
 
void finalize (const charT *p1, const charT *p2)
 

Protected Attributes

regex_data< charT, traits > * m_pdata
 
const
::boost::regex_traits_wrapper
< traits > & 
m_traits
 
re_syntax_basem_last_state
 
bool m_icase
 
unsigned m_repeater_id
 
bool m_has_backrefs
 
unsigned m_backrefs
 
boost::uintmax_t m_bad_repeats
 
bool m_has_recursions
 
std::vector< bool > m_recursion_checks
 
traits::char_class_type m_word_mask
 
traits::char_class_type m_mask_space
 
traits::char_class_type m_lower_mask
 
traits::char_class_type m_upper_mask
 
traits::char_class_type m_alpha_mask
 

Constructor & Destructor Documentation

template<class charT , class traits >
boost::re_detail::basic_regex_parser< charT, traits >::basic_regex_parser ( regex_data< charT, traits > *  data)

Member Function Documentation

template<class charT , class traits >
re_literal * boost::re_detail::basic_regex_creator< charT, traits >::append_literal ( charT  c)
inherited
template<class charT , class traits >
re_syntax_base * boost::re_detail::basic_regex_creator< charT, traits >::append_set ( const basic_char_set< charT, traits > &  char_set)
inlineinherited
template<class charT , class traits >
re_syntax_base * boost::re_detail::basic_regex_creator< charT, traits >::append_set ( const basic_char_set< charT, traits > &  char_set,
mpl::false_  
)
inherited
template<class charT , class traits >
re_syntax_base * boost::re_detail::basic_regex_creator< charT, traits >::append_state ( syntax_element_type  t,
std::size_t  s = sizeof(re_syntax_base) 
)
inherited
template<class charT , class traits >
void boost::re_detail::basic_regex_parser< charT, traits >::fail ( regex_constants::error_type  error_code,
std::ptrdiff_t  position 
)
template<class charT , class traits >
void boost::re_detail::basic_regex_parser< charT, traits >::fail ( regex_constants::error_type  error_code,
std::ptrdiff_t  position,
std::string  message,
std::ptrdiff_t  start_pos 
)
template<class charT, class traits>
void boost::re_detail::basic_regex_parser< charT, traits >::fail ( regex_constants::error_type  error_code,
std::ptrdiff_t  position,
const std::string &  message 
)
inline
template<class charT , class traits >
void boost::re_detail::basic_regex_creator< charT, traits >::finalize ( const charT *  p1,
const charT *  p2 
)
inherited
template<class charT , class traits >
regbase::flag_type boost::re_detail::basic_regex_creator< charT, traits >::flags ( )
inlineinherited
template<class charT , class traits >
re_syntax_base* boost::re_detail::basic_regex_creator< charT, traits >::getaddress ( std::ptrdiff_t  off)
inlineinherited
template<class charT , class traits >
re_syntax_base* boost::re_detail::basic_regex_creator< charT, traits >::getaddress ( std::ptrdiff_t  off,
void *  base 
)
inlineinherited
template<class charT , class traits >
std::ptrdiff_t boost::re_detail::basic_regex_creator< charT, traits >::getoffset ( void *  addr)
inlineinherited
template<class charT , class traits >
std::ptrdiff_t boost::re_detail::basic_regex_creator< charT, traits >::getoffset ( const void *  addr,
const void *  base 
)
inlineinherited
template<class charT , class traits >
re_syntax_base * boost::re_detail::basic_regex_creator< charT, traits >::insert_state ( std::ptrdiff_t  pos,
syntax_element_type  t,
std::size_t  s = sizeof(re_syntax_base) 
)
inherited
template<class charT , class traits >
bool boost::re_detail::basic_regex_parser< charT, traits >::parse_all ( )
template<class charT , class traits >
bool boost::re_detail::basic_regex_parser< charT, traits >::parse_literal ( )
template<class charT , class traits >
bool boost::re_detail::basic_regex_parser< charT, traits >::parse_QE ( )
template<class charT , class traits >
bool boost::re_detail::basic_regex_parser< charT, traits >::parse_repeat ( std::size_t  low = 0,
std::size_t  high = (std::numeric_limits<std::size_t>::max)() 
)

References boost::re_detail::re_jump::alt, boost::regbase::basic_syntax_group, boost::multiprecision::backends::c, boost::fusion::distance(), boost::regbase::emacs_ex, boost::xpressive::regex_constants::error_badrepeat, boost::re_detail::re_repeat::greedy, boost::polygon::high(), boost::re_detail::offset_type::i, boost::regbase::icase, boost::re_detail::re_brace::icase, boost::re_detail::re_brace::index, boost::re_detail::re_repeat::leading, boost::re_detail::re_literal::length, boost::proto::lit(), boost::polygon::low(), boost::regbase::main_option_type, boost::re_detail::re_repeat::max, boost::re_detail::re_repeat::min, boost::regbase::no_perl_ex, boost::multiprecision::backends::pb, boost::re_detail::re_repeater_size, boost::re_detail::syntax_element_alt, boost::re_detail::syntax_element_backstep, boost::re_detail::syntax_element_buffer_end, boost::re_detail::syntax_element_buffer_start, boost::re_detail::syntax_element_end_line, boost::re_detail::syntax_element_endmark, boost::re_detail::syntax_element_jump, boost::re_detail::syntax_element_literal, boost::re_detail::syntax_element_rep, boost::re_detail::syntax_element_restart_continue, boost::re_detail::syntax_element_soft_buffer_end, boost::re_detail::syntax_element_start_line, boost::re_detail::syntax_element_startmark, boost::re_detail::syntax_element_within_word, boost::re_detail::syntax_element_word_boundary, boost::re_detail::syntax_element_word_end, boost::re_detail::syntax_element_word_start, and boost::multiprecision::backends::this.

Member Data Documentation

template<class charT , class traits >
traits::char_class_type boost::re_detail::basic_regex_creator< charT, traits >::m_alpha_mask
protectedinherited
template<class charT , class traits >
unsigned boost::re_detail::basic_regex_creator< charT, traits >::m_backrefs
protectedinherited
template<class charT , class traits >
boost::uintmax_t boost::re_detail::basic_regex_creator< charT, traits >::m_bad_repeats
protectedinherited
template<class charT , class traits >
bool boost::re_detail::basic_regex_creator< charT, traits >::m_has_backrefs
protectedinherited
template<class charT , class traits >
bool boost::re_detail::basic_regex_creator< charT, traits >::m_has_recursions
protectedinherited
template<class charT , class traits >
bool boost::re_detail::basic_regex_creator< charT, traits >::m_icase
protectedinherited
template<class charT , class traits >
re_syntax_base* boost::re_detail::basic_regex_creator< charT, traits >::m_last_state
protectedinherited
template<class charT , class traits >
traits::char_class_type boost::re_detail::basic_regex_creator< charT, traits >::m_lower_mask
protectedinherited
template<class charT , class traits >
traits::char_class_type boost::re_detail::basic_regex_creator< charT, traits >::m_mask_space
protectedinherited
template<class charT , class traits >
std::vector<bool> boost::re_detail::basic_regex_creator< charT, traits >::m_recursion_checks
protectedinherited
template<class charT , class traits >
unsigned boost::re_detail::basic_regex_creator< charT, traits >::m_repeater_id
protectedinherited
template<class charT , class traits >
const ::boost::regex_traits_wrapper<traits>& boost::re_detail::basic_regex_creator< charT, traits >::m_traits
protectedinherited
template<class charT , class traits >
traits::char_class_type boost::re_detail::basic_regex_creator< charT, traits >::m_upper_mask
protectedinherited
template<class charT , class traits >
traits::char_class_type boost::re_detail::basic_regex_creator< charT, traits >::m_word_mask
protectedinherited

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