#include <xtl_quote.h>
Public Member Functions | |
template<typename SubstrT > | |
bool | match_pair (SubstrT &edge_) |
Implements grammar evaluation behavior of C double quote helper function. | |
xtl_quote_c_double_quote (MiddleT const &middle_) | |
Constructs and initializes the object. | |
xtl_quote_c_double_quote () | |
Default constructor assumes that any content inside the quotes is acceptable. |
MiddleT | specifies type of grammar expression, describing interior clause of the quote. | |
CharT | specifies character type of the quote. |
Definition at line 644 of file xtl_quote.h.
cttl_impl::xtl_quote_c_double_quote< MiddleT, CharT >::xtl_quote_c_double_quote | ( | ) |
Default constructor assumes that any content inside the quotes is acceptable.
Definition at line 651 of file xtl_quote.h.
00652 : xtl_quote_base< 00653 xtl_wrap< xtl_char< CharT > >, 00654 relaxed_bool_T, 00655 xtl_wrap< xtl_char< CharT > >, 00656 xtl_quote_c_double_quote< xtl_wrap< xtl_bool< true > >, CharT > 00657 >( CharT( '\"' ), true, CharT( '\"' ) ) 00658 { 00659 }
cttl_impl::xtl_quote_c_double_quote< MiddleT, CharT >::xtl_quote_c_double_quote | ( | MiddleT const & | middle_ | ) |
Constructs and initializes the object.
Definition at line 662 of file xtl_quote.h.
00663 : xtl_quote_base< xtl_wrap< xtl_char< CharT > >, MiddleT, xtl_wrap< xtl_char< CharT > >, xtl_quote_c_double_quote< MiddleT, CharT > >( CharT( '\"' ), middle_, CharT( '\"' ) ) 00664 { 00665 }
bool cttl_impl::xtl_quote_c_double_quote< MiddleT, CharT >::match_pair | ( | SubstrT & | edge_ | ) |
Implements grammar evaluation behavior of C double quote helper function.
Definition at line 674 of file xtl_quote.h.
00675 { 00676 // typedef typename SubstrT::char_T char_T; 00677 static const CharT chars2find[] = { CharT( '\"' ), CharT( '\n' ), CharT( '\r' ), CharT( '\\' ), 0x00 }; 00678 return xtl_match_quote( edge_, this->m_middle, this->m_right, chars2find ); // "\"\n\r\\" 00679 }