Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cttl Namespace Reference


Detailed Description

Namespace cttl defines publicly visible classes and functions of CTTL library.


Classes

struct  policy_default
 Provides default implementation for CTTL white space policy. More...
class  const_edge
 Implements concept of a logical immutable substring inside user input text. More...
class  edge
 Implements concept of logical mutable substring inside user input text. More...
struct  edge_replace
 Function object, which, if called as a function, replaces underlying text of an edge with the string specified when the function object was constructed. More...
struct  edge_first_insert_go
 Function object, which, if called as a function, inserts substring specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::first. More...
struct  edge_first_insert_stay
 Function object, which, if called as a function, inserts string specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::first. More...
struct  edge_second_insert_go
 Function object, which, if called as a function, inserts substring specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::second. More...
struct  edge_second_insert_stay
 Function object, which, if called as a function, inserts string specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::second. More...
class  input
 Template class cttl::input accommodates user input text and maintains offset identity vector. More...
class  node
 Keeps track of a logical position inside user input text. More...
struct  node_insert_go
 Function object, which, if called as a function, inserts substring specified when the function object was constructed, at the offset pointed by the node. More...
struct  node_insert_stay
 Function object, which, if called as a function, inserts substring specified when the function object was constructed, at the offset pointed by the node. More...
class  policy_mapped_space
 This a base class for region-based white space policy classes. More...
struct  policy_space
 Generic version of pre-defined policy. More...
struct  policy_space< flag_follow_space >
 This policy instructs cttl lexer to automatically skip white space characters ht, lf, vt, ff, cr, and space. More...
struct  policy_space< flag_follow_region >
 Makes user-defined regions "invisible" to CTTL lexer. More...
struct  policy_space< flag_follow_space|flag_follow_region >
 This policy instructs CTTL lexer to automatically skip white space characters ht, lf, vt, ff, cr, and space, combined with user-defined regions. More...
struct  policy_space< flag_greedy|flag_follow_space >
 greedy version of white space policy More...
struct  policy_space< flag_greedy >
 greedy version of white space policy More...
struct  policy_space< flag_greedy|flag_follow_region >
 greedy version of user-defined region policy More...
struct  policy_space< flag_greedy|flag_follow_space|flag_follow_region >
 greedy version of the combined policy More...
struct  policy_space< flag_cpp_comments >
 Typical C++ white space, including C and C++ style comments. More...
struct  policy_space< flag_greedy|flag_cpp_comments >
 Greedy version of C++ white space. More...

Functions

template<typename StringT>
const_edge< policy_default,
StringT > 
operator- (node< StringT > &one_, node< StringT > &another_)
 Constructs cttl::const_edge object from pair of cttl::node objects.
template<typename StringT>
const_edge< policy_default,
StringT > 
operator+ (node< StringT > &one_, node< StringT > &another_)
 Constructs cttl::const_edge object from pair of cttl::node objects.
template<typename PolicyT, typename StringT>
const_edge< PolicyT, StringT > new_edge (const_edge< PolicyT, StringT > &other_)
 Constructs new cttl::const_edge object from another edge.
template<typename StringT>
const_edge< policy_default,
StringT > 
new_edge (input< StringT > &inp_)
 Constructs new edge object pointing to the entire parseable universe.
template<typename StringT>
const_edge< policy_default,
StringT > 
new_edge (input< StringT > &inp_, size_t lhs_offset_, size_t rhs_offset_)
 Constructs new edge object pointing to the part of the cttl::input specified by the user.
template<typename PolicyT, typename StringT>
bool operator< (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_)
 Compares two edges by comparing the underlying text.
template<typename PolicyT, typename StringT>
bool operator> (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_)
 Compares two edges by comparing the underlying text.
template<typename PolicyT, typename StringT>
bool operator>= (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_)
 Compares two edges by comparing the underlying text.
template<typename PolicyT, typename StringT>
bool operator<= (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_)
 Compares two edges by comparing the underlying text.
template<typename PolicyT, typename StringT>
bool operator== (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_)
 Compares two edges by comparing the underlying text.
template<typename PolicyT, typename StringT>
bool operator!= (const_edge< PolicyT, StringT > const &one_, const_edge< PolicyT, StringT > const &another_)
 Compares two edges by comparing the underlying text.
template<typename StringT>
void string_toupper (StringT &str_)
 Converts string to UPPERCASE.
template<typename StringT>
void string_tolower (StringT &str_)
 Converts string to lowercase.
template<typename StringT, typename CharT>
void string_array2string (StringT &str_, CharT *array_[])
 Loads text from array of string literals into STL string provided by the user.
template<typename StringT, typename CharT>
void string_array2string (StringT &str_, CharT *array_[], CharT delimiter_)
 Loads text from array of string literals into STL string provided by the user.
template<typename StringT, typename CharT>
void string_array2string (StringT &str_, CharT *array_[], CharT const *delimiter_)
 Loads text from array of string literals into STL string provided by the user.
template<typename StringT>
node< StringT > new_node (input< StringT > &inp_, size_t offset_)
 Constructs new cttl::node object from cttl::input object.
template<typename StringT>
node< StringT > new_node (input< StringT > &inp_)
 Constructs new cttl::node object from cttl::input object.
template<typename StringT>
node< StringT > new_node (node< StringT > &other_)
 Constructs new cttl::node object from another node.
template<typename StringT>
bool operator== (node< StringT > const &one_, node< StringT > const &another_)
 Compares two nodes.
template<typename StringT>
bool operator!= (node< StringT > const &one_, node< StringT > const &another_)
 Compares two nodes.
template<typename StringT>
bool operator> (node< StringT > const &one_, node< StringT > const &another_)
 Compares offsets of two nodes.
template<typename StringT>
bool operator< (node< StringT > const &one_, node< StringT > const &another_)
 Compares offsets of two nodes.
template<typename StringT>
bool operator>= (node< StringT > const &one_, node< StringT > const &another_)
 Compares offsets of two nodes.
template<typename StringT>
bool operator<= (node< StringT > const &one_, node< StringT > const &another_)
 Compares offsets of two nodes.
template<typename StringT>
node< StringT > & operator++ (node< StringT > &node_)
 Prefix increment operator increments node offset.
template<typename StringT>
node< StringT > & operator-- (node< StringT > &node_)
 Prefix decrement operator decrements node offset.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_begin<
CTTL_STD_STRING > >, xtl_wrap<
xtl_text_end< CTTL_STD_STRING > > > > 
literal ()
 Implements behavior of literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_begin<
CTTL_STD_STRING > >, xtl_wrap<
xtl_text_end< CTTL_STD_STRING > > > > 
literal (CTTL_STD_CHAR const *text_begin_, CTTL_STD_CHAR const *text_end_)
 Implements behavior of literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_begin<
CTTL_STD_STRING > >, xtl_wrap<
xtl_text_end< CTTL_STD_STRING > > > > 
literal (CTTL_STD_STRING const &text_begin_, CTTL_STD_STRING const &text_end_)
 Implements behavior of literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_ref_begin<
CTTL_STD_STRING > >, xtl_wrap<
xtl_text_ref_end< CTTL_STD_STRING > > > > 
literal (CTTL_STD_STRING const *text_begin_, CTTL_STD_STRING const *text_end_)
 Implements behavior of literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_begin<
CTTL_STD_WSTRING > >, xtl_wrap<
xtl_text_end< CTTL_STD_WSTRING > > > > 
wchar_literal ()
 Implements behavior of wide character literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_begin<
CTTL_STD_WSTRING > >, xtl_wrap<
xtl_text_end< CTTL_STD_WSTRING > > > > 
wchar_literal (CTTL_STD_WCHAR const *text_begin_, CTTL_STD_WCHAR const *text_end_)
 Implements behavior of wide character literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_begin<
CTTL_STD_WSTRING > >, xtl_wrap<
xtl_text_end< CTTL_STD_WSTRING > > > > 
wchar_literal (CTTL_STD_WSTRING const &text_begin_, CTTL_STD_WSTRING const &text_end_)
 Implements behavior of wide character literal metaphor inside CTTL grammar expression.
xtl_wrap< xtl_opbinconcat<
xtl_wrap< xtl_text_ref_begin<
CTTL_STD_WSTRING > >, xtl_wrap<
xtl_text_ref_end< CTTL_STD_WSTRING > > > > 
wchar_literal (CTTL_STD_WSTRING const *text_begin_, CTTL_STD_WSTRING const *text_end_)
 Implements behavior of wide character literal metaphor inside CTTL grammar expression.
template<typename ExprT>
xtl_wrap< xtl_entity< xtl_wrap<
ExprT > >> 
entity (xtl_wrap< ExprT > const &expr_)
 Helper function to create implemention object for entity expression adaptor which filters successful result of grammar evaluation based on non-empty match.
universe_T entity ()
 Helper function to create implemention object for entity lexeme.
template<typename ExprT>
xtl_wrap< xtl_opunarbang<
xtl_wrap< ExprT > >> 
operator! (xtl_wrap< ExprT > const &expr_)
 Overloads unary search operator.
template<typename ExprT>
xtl_wrap< xtl_opunarstar<
xtl_wrap< ExprT > >> 
operator * (xtl_wrap< ExprT > const &expr_)
 Overloads unary Kleene star operator.
template<typename Left_exprT>
xtl_wrap< xtl_opunarstar<
xtl_wrap< Left_exprT > >> 
operator * (xtl_wrap< Left_exprT > const &lhs_expr_, int upper_limit_)
 Overloads binary Kleene star operator.
template<typename ExprT>
xtl_wrap< xtl_opunarplus<
xtl_wrap< ExprT > >> 
operator+ (xtl_wrap< ExprT > const &expr_)
 Overloads unary Kleeene plus operator.
template<typename Left_exprT>
xtl_wrap< xtl_opunarplus<
xtl_wrap< Left_exprT > >> 
operator+ (xtl_wrap< Left_exprT > const &lhs_expr_, int upper_limit_)
 Overloads binary Kleene plus operator.
template<typename Left_exprT>
xtl_wrap< xtl_opunarplus<
xtl_wrap< Left_exprT > >> 
operator+ (xtl_wrap< Left_exprT > const &lhs_expr_, std::pair< int, int > limits_)
 Overloads binary greedy Kleene plus operator.
template<typename ExprT>
xtl_wrap< xtl_opunarminus<
xtl_wrap< ExprT > >> 
operator- (xtl_wrap< ExprT > const &expr_)
 Overloads unary logical not operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinplus< xtl_wrap<
Left_exprT >, xtl_wrap< Right_exprT > >> 
operator+ (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary sequence operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinpipe< xtl_wrap<
Left_exprT >, xtl_wrap< Right_exprT > >> 
operator| (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary set union operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbin2pipe<
xtl_wrap< Left_exprT >, xtl_wrap<
Right_exprT > >> 
operator|| (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary POSIX union operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinconcat<
xtl_wrap< Left_exprT >, xtl_wrap<
Right_exprT > >> 
operator^ (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary concatenation operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinminus<
xtl_wrap< Left_exprT >, xtl_wrap<
Right_exprT > >> 
operator- (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary set complement operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinand< xtl_wrap<
Left_exprT >, xtl_wrap< Right_exprT > >> 
operator & (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary set intersection operator.
template<typename LeftT, typename MiddleT, typename RightT>
xtl_wrap< xtl_quote_generic<
xtl_wrap< LeftT >, xtl_wrap<
MiddleT >, xtl_wrap< RightT > >> 
quote (xtl_wrap< LeftT > const &left_, xtl_wrap< MiddleT > const &middle_, xtl_wrap< RightT > const &right_)
 CTTL quote function generating implementation for generic quotes.
template<typename MiddleT, typename RightT>
xtl_wrap< xtl_quote_bool<
xtl_wrap< MiddleT >, xtl_wrap<
RightT > >> 
quote (bool, xtl_wrap< MiddleT > const &middle_, xtl_wrap< RightT > const &right_)
 CTTL quote function generating implementation for asymmetric quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_generic<
xtl_wrap< xtl_char< CTTL_STD_CHAR > >,
xtl_wrap< MiddleT >, xtl_wrap<
xtl_char< CTTL_STD_CHAR > > >> 
quote (CTTL_STD_CHAR left_, xtl_wrap< MiddleT > const &middle_, CTTL_STD_CHAR right_)
 CTTL quote function generating implementation for single-character quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_generic<
xtl_wrap< xtl_char< CTTL_STD_WCHAR > >,
xtl_wrap< MiddleT >, xtl_wrap<
xtl_char< CTTL_STD_WCHAR > > >> 
wchar_quote (CTTL_STD_WCHAR left_, xtl_wrap< MiddleT > const &middle_, CTTL_STD_WCHAR right_)
 CTTL quote function generating implementation for single wide character quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_ansi_single_quote<
xtl_wrap< MiddleT >, CTTL_STD_CHAR >> 
ansi_single_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for ANSI single quotes.
ansi_single_quote_T ansi_single_quote ()
 CTTL quote function generating implementation for ANSI single quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_ansi_double_quote<
xtl_wrap< MiddleT >, CTTL_STD_CHAR > > 
ansi_double_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for ANSI double quotes.
ansi_double_quote_T ansi_double_quote ()
 CTTL quote function generating implementation for ANSI double quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_c_single_quote<
xtl_wrap< MiddleT >, CTTL_STD_CHAR >> 
c_single_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for C single quotes.
c_single_quote_T c_single_quote ()
 CTTL quote function generating implementation for C single quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_c_double_quote<
xtl_wrap< MiddleT >, CTTL_STD_CHAR > > 
c_double_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for C double quotes.
c_double_quote_T c_double_quote ()
 CTTL quote function generating implementation for C double quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_ansi_single_quote<
xtl_wrap< MiddleT >, CTTL_STD_WCHAR >> 
wchar_ansi_single_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for wide CTTL_STD_CHAR ANSI single quotes.
wchar_ansi_single_quote_T wchar_ansi_single_quote ()
 CTTL quote function generating implementation for wide CTTL_STD_CHAR ANSI single quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_ansi_double_quote<
xtl_wrap< MiddleT >, CTTL_STD_WCHAR > > 
wchar_ansi_double_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for wide CTTL_STD_CHAR ANSI double quotes.
wchar_ansi_double_quote_T wchar_ansi_double_quote ()
 CTTL quote function generating implementation for wide CTTL_STD_CHAR ANSI double quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_c_single_quote<
xtl_wrap< MiddleT >, CTTL_STD_WCHAR >> 
wchar_c_single_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for wide CTTL_STD_CHAR C single quotes.
wchar_c_single_quote_T wchar_c_single_quote ()
 CTTL quote function generating implementation for wide CTTL_STD_CHAR C single quotes.
template<typename MiddleT>
xtl_wrap< xtl_quote_c_double_quote<
xtl_wrap< MiddleT >, CTTL_STD_WCHAR > > 
wchar_c_double_quote (xtl_wrap< MiddleT > const &middle_)
 CTTL quote function generating implementation for wide CTTL_STD_CHAR C double quotes.
wchar_c_double_quote_T wchar_c_double_quote ()
 CTTL quote function generating implementation for wide CTTL_STD_CHAR C double quotes.
template<typename Static_predicateT>
xtl_wrap< xtl_predicate< Static_predicateT > > rule (const Static_predicateT pred_)
 CTTL function adaptor, generating implementation for static grammar rule adaptor.
template<typename ObjectT, typename PredicateT>
xtl_wrap< xtl_member_predicate<
ObjectT, PredicateT > > 
rule (ObjectT &object_ref_, PredicateT pred_)
 CTTL function adaptor, generating implementation for member function adaptor.
xtl_wrap< xtl_char_symbolsymbol ()
 CTTL lexeme function generating implementation for symbol( ) expression.
xtl_wrap< xtl_position_bofbegin ()
 CTTL lexeme function generating implementation for begin( ) expression.
xtl_wrap< xtl_bool< false > > symbol (bool bool_)
 CTTL lexeme function generating implementation for symbol(true) and symbol(false) expressions.
xtl_wrap< xtl_bool< true > > begin (bool bool_)
 CTTL lexeme function generating implementation for begin(true) and begin(false) expressions.
xtl_wrap< xtl_char< CTTL_STD_CHAR > > symbol (CTTL_STD_CHAR char_)
 CTTL lexeme function generating implementation for symbol(CTTL_STD_CHAR) expression.
xtl_wrap< xtl_char< CTTL_STD_WCHAR > > symbol (CTTL_STD_WCHAR char_)
 CTTL lexeme function generating implementation for symbol(CTTL_STD_WCHAR) expression.
xtl_wrap< xtl_char< CTTL_STD_CHAR > > symbol (int char_)
 CTTL lexeme function generating implementation for symbol(int) expression.
xtl_wrap< xtl_char_begin<
CTTL_STD_CHAR > > 
begin (CTTL_STD_CHAR char_)
 CTTL lexeme function generating implementation for begin(CTTL_STD_CHAR) expression.
xtl_wrap< xtl_char_begin<
CTTL_STD_WCHAR > > 
begin (CTTL_STD_WCHAR char_)
 CTTL lexeme function generating implementation for begin(CTTL_STD_WCHAR) expression.
xtl_wrap< xtl_char_begin<
CTTL_STD_CHAR > > 
begin (int char_)
 CTTL lexeme function generating implementation for begin(int) expression.
xtl_wrap< xtl_char_end< CTTL_STD_CHAR > > end (CTTL_STD_CHAR char_)
 CTTL lexeme function generating implementation for end(CTTL_STD_CHAR) expression.
xtl_wrap< xtl_char_end< CTTL_STD_WCHAR > > end (CTTL_STD_WCHAR char_)
 CTTL lexeme function generating implementation for end(CTTL_STD_WCHAR) expression.
xtl_wrap< xtl_char_end< CTTL_STD_CHAR > > end (int char_)
 CTTL lexeme function generating implementation for end(int) expression.
xtl_wrap< xtl_keyword< CTTL_STD_STRING > > begin (std::set< CTTL_STD_STRING > const &keywords_)
 CTTL lexeme function generating implementation for begin(std::set<std::string>&) expression.
xtl_wrap< xtl_keyword< CTTL_STD_WSTRING > > begin (std::set< CTTL_STD_WSTRING > const &keywords_)
 CTTL lexeme function generating implementation for begin(std::set<std::wstring>&) expression.
xtl_wrap< xtl_iswhat_beginbegin (iswhat_T iswhat_)
 CTTL lexeme function generating implementation for begin(is...) expression.
xtl_wrap< xtl_iswhat_endend (iswhat_T iswhat_)
 CTTL lexeme function generating implementation for end(is...) expression.
xtl_wrap< xtl_iswhat_firstfirst (iswhat_T iswhat_)
 CTTL lexeme function generating implementation for first(is...) expression.
xtl_wrap< xtl_iswhat_entityentity (iswhat_T iswhat_)
 CTTL lexeme function generating implementation for entity(is...) expression.
xtl_wrap< xtl_iswwhat_beginbegin (iswwhat_T iswwhat_)
 CTTL lexeme function generating implementation for begin(isw...) expression.
xtl_wrap< xtl_iswwhat_endend (iswwhat_T iswwhat_)
 CTTL lexeme function generating implementation for end(isw...) expression.
xtl_wrap< xtl_iswwhat_firstfirst (iswwhat_T iswwhat_)
 CTTL lexeme function generating implementation for first(isw...) expression.
xtl_wrap< xtl_iswwhat_entityentity (iswwhat_T iswwhat_)
 CTTL lexeme function generating implementation for entity(isw...) expression.
xtl_wrap< xtl_text_begin<
CTTL_STD_STRING > > 
begin (CTTL_STD_CHAR const *any_text_)
 CTTL lexeme function generating implementation for begin(CTTL_STD_CHAR*) expression.
xtl_wrap< xtl_text_begin<
CTTL_STD_WSTRING > > 
begin (CTTL_STD_WCHAR const *any_text_)
 CTTL lexeme function generating implementation for begin(CTTL_STD_WCHAR*) expression.
xtl_wrap< xtl_text_begin<
CTTL_STD_STRING > > 
begin (CTTL_STD_STRING const &any_text_)
 CTTL lexeme function generating implementation for begin(string&) expression.
xtl_wrap< xtl_text_begin<
CTTL_STD_WSTRING > > 
begin (CTTL_STD_WSTRING const &any_text_)
 CTTL lexeme function generating implementation for begin(wstring&) expression.
xtl_wrap< xtl_text_ref_begin<
CTTL_STD_STRING > > 
begin (CTTL_STD_STRING const *any_text_)
 CTTL lexeme function generating implementation for begin(string*) expression.
xtl_wrap< xtl_text_ref_begin<
CTTL_STD_WSTRING > > 
begin (CTTL_STD_WSTRING const *any_text_)
 CTTL lexeme function generating implementation for begin(wstring*) expression.
xtl_wrap< xtl_text_end< CTTL_STD_STRING > > end (CTTL_STD_CHAR const *any_text_)
 CTTL lexeme function generating implementation for end(CTTL_STD_CHAR*) expression.
xtl_wrap< xtl_text_end< CTTL_STD_WSTRING > > end (CTTL_STD_WCHAR const *any_text_)
 CTTL lexeme function generating implementation for end(CTTL_STD_WCHAR*) expression.
xtl_wrap< xtl_text_end< CTTL_STD_STRING > > end (CTTL_STD_STRING const &any_text_)
 CTTL lexeme function generating implementation for end(string&) expression.
xtl_wrap< xtl_text_end< CTTL_STD_WSTRING > > end (CTTL_STD_WSTRING const &any_text_)
 CTTL lexeme function generating implementation for end(wstring&) expression.
xtl_wrap< xtl_text_ref_end<
CTTL_STD_STRING > > 
end (CTTL_STD_STRING const *any_text_)
 CTTL lexeme function generating implementation for end(string*) expression.
xtl_wrap< xtl_text_ref_end<
CTTL_STD_WSTRING > > 
end (CTTL_STD_WSTRING const *any_text_)
 CTTL lexeme function generating implementation for end(wstring*) expression.
xtl_wrap< xtl_text_first<
CTTL_STD_STRING > > 
first (CTTL_STD_CHAR const *any_text_)
 CTTL lexeme function generating implementation for first(CTTL_STD_CHAR*) expression.
xtl_wrap< xtl_text_first<
CTTL_STD_WSTRING > > 
first (CTTL_STD_WCHAR const *any_text_)
 CTTL lexeme function generating implementation for first(CTTL_STD_WCHAR*) expression.
xtl_wrap< xtl_text_first<
CTTL_STD_STRING > > 
first (CTTL_STD_STRING const &any_text_)
 CTTL lexeme function generating implementation for first(string&) expression.
xtl_wrap< xtl_text_first<
CTTL_STD_WSTRING > > 
first (CTTL_STD_WSTRING const &any_text_)
 CTTL lexeme function generating implementation for first(wstring&) expression.
xtl_wrap< xtl_text_ref_first<
CTTL_STD_STRING > > 
first (CTTL_STD_STRING const *any_text_)
 CTTL lexeme function generating implementation for first(string*) expression.
xtl_wrap< xtl_text_ref_first<
CTTL_STD_WSTRING > > 
first (CTTL_STD_WSTRING const *any_text_)
 CTTL lexeme function generating implementation for first(wstring*) expression.
xtl_wrap< xtl_char< CTTL_STD_CHAR > > entity (CTTL_STD_CHAR char_)
 CTTL lexeme function generating implementation for entity(CTTL_STD_CHAR) expression.
xtl_wrap< xtl_char< CTTL_STD_WCHAR > > entity (CTTL_STD_WCHAR char_)
 CTTL lexeme function generating implementation for entity(CTTL_STD_WCHAR) expression.
xtl_wrap< xtl_char< CTTL_STD_CHAR > > entity (int char_)
 CTTL lexeme function generating implementation for entity(int) expression.
xtl_wrap< xtl_text_entity<
CTTL_STD_STRING > > 
entity (CTTL_STD_CHAR const *any_text_)
 CTTL lexeme function generating implementation for entity(CTTL_STD_CHAR*) expression.
xtl_wrap< xtl_text_entity<
CTTL_STD_WSTRING > > 
entity (CTTL_STD_WCHAR const *any_text_)
 CTTL lexeme function generating implementation for entity(CTTL_STD_WCHAR*) expression.
xtl_wrap< xtl_text_entity<
CTTL_STD_STRING > > 
entity (CTTL_STD_STRING const &any_text_)
 CTTL lexeme function generating implementation for entity(string&) expression.
xtl_wrap< xtl_text_entity<
CTTL_STD_WSTRING > > 
entity (CTTL_STD_WSTRING const &any_text_)
 CTTL lexeme function generating implementation for entity(wstring&) expression.
xtl_wrap< xtl_text_ref_entity<
CTTL_STD_STRING > > 
entity (CTTL_STD_STRING const *any_text_)
 CTTL lexeme function generating implementation for entity(string*) expression.
xtl_wrap< xtl_text_ref_entity<
CTTL_STD_WSTRING > > 
entity (CTTL_STD_WSTRING const *any_text_)
 CTTL lexeme function generating implementation for entity(wstring*) expression.
xtl_wrap< xtl_text_symbol<
CTTL_STD_STRING > > 
symbol (CTTL_STD_CHAR const *any_text_)
 CTTL lexeme function generating implementation for symbol(CTTL_STD_CHAR*) expression.
xtl_wrap< xtl_text_symbol<
CTTL_STD_WSTRING > > 
symbol (CTTL_STD_WCHAR const *any_text_)
 CTTL lexeme function generating implementation for symbol(CTTL_STD_WCHAR*) expression.
xtl_wrap< xtl_text_symbol<
CTTL_STD_STRING > > 
symbol (CTTL_STD_STRING const &any_text_)
 CTTL lexeme function generating implementation for symbol(string&) expression.
xtl_wrap< xtl_text_symbol<
CTTL_STD_WSTRING > > 
symbol (CTTL_STD_WSTRING const &any_text_)
 CTTL lexeme function generating implementation for symbol(wstring&) expression.
xtl_wrap< xtl_text_ref_symbol<
CTTL_STD_STRING > > 
symbol (CTTL_STD_STRING const *any_text_)
 CTTL lexeme function generating implementation for symbol(string*) expression.
xtl_wrap< xtl_text_ref_symbol<
CTTL_STD_WSTRING > > 
symbol (CTTL_STD_WSTRING const *any_text_)
 CTTL lexeme function generating implementation for symbol(wstring*) expression.
xtl_wrap< xtl_position_eofend ()
 CTTL lexeme function generating implementation for end( ) expression.

Variables

const int flag_follow_space = 1
 Suggests that the specialization understands conventional white space.
const int flag_follow_region = 2
 Suggests that the specialization understands user-defined regions.
const int flag_greedy = 4
 Suggests that the specialization implements greedy evaluation algorithm.
const int flag_cpp_comments = 8
 Suggests that the specialization understands C/C++ comments.
const int flag_follow_either = flag_follow_space | flag_follow_region
 Convinience flag.


Function Documentation

ansi_double_quote_T ansi_double_quote  )  [inline]
 

CTTL quote function generating implementation for ANSI double quotes.

Returns:
Instance of C++ implementation class for CTTL grammar expression describing ANSI double quote.
Remarks:
This version of overloaded function assumes that any content inside the quotes is acceptable, including the empty string.

Definition at line 348 of file xtl_quote_sym.h.

References cttl_impl::ansi_double_quote_T.

xtl_wrap< xtl_quote_ansi_double_quote< xtl_wrap< MiddleT >, CTTL_STD_CHAR > > ansi_double_quote xtl_wrap< MiddleT > const &  middle_  )  [inline]
 

CTTL quote function generating implementation for ANSI double quotes.

MiddleT
Template parameter specifying type of grammar expression, describing interior clause of the quote.
Parameters:
middle_ constant reference to CTTL grammar expression describing interior clause of the quote.
Returns:
Instance of C++ implementation class for CTTL grammar expression describing ANSI double quote.

Definition at line 328 of file xtl_quote_sym.h.

References CTTL_STD_CHAR.

ansi_single_quote_T ansi_single_quote  )  [inline]
 

CTTL quote function generating implementation for ANSI single quotes.

Returns:
Instance of C++ implementation class for CTTL grammar expression describing ANSI single quote.
Remarks:
This version of overloaded function assumes that any content inside the quotes is acceptable, including the empty string.

Definition at line 301 of file xtl_quote_sym.h.

References cttl_impl::ansi_single_quote_T.

xtl_wrap< xtl_quote_ansi_single_quote< xtl_wrap< MiddleT >, CTTL_STD_CHAR >> ansi_single_quote xtl_wrap< MiddleT > const &  middle_  )  [inline]
 

CTTL quote function generating implementation for ANSI single quotes.

MiddleT
Template parameter specifying type of grammar expression, describing interior clause of the quote.
Parameters:
middle_ constant reference to CTTL grammar expression describing interior clause of the quote.
Returns:
Instance of C++ implementation class for CTTL grammar expression describing ANSI single quote.

Definition at line 281 of file xtl_quote_sym.h.

References CTTL_STD_CHAR.

xtl_wrap< xtl_text_ref_begin< CTTL_STD_WSTRING > > begin CTTL_STD_WSTRING const *  any_text_  )  [inline]
 

CTTL lexeme function generating implementation for begin(wstring*) expression.

Parameters:
any_text_ text to match.
Returns:
Instance of C++ lexeme implementation class.

Definition at line 636 of file xtl_sym.h.

xtl_wrap< xtl_text_ref_begin< CTTL_STD_STRING > > begin CTTL_STD_STRING const *  any_text_  )  [inline]
 

CTTL lexeme function generating implementation for begin(string*) expression.

Parameters:
any_text_ text to match.
Returns:
Instance of C++ lexeme implementation class.

Definition at line 617 of file xtl_sym.h.

xtl_wrap< xtl_text_begin< CTTL_STD_WSTRING > > begin CTTL_STD_WSTRING const &  any_text_  )  [inline]
 

CTTL lexeme function generating implementation for begin(wstring&) expression.

Parameters:
any_text_ text to match.
Returns:
Instance of C++ lexeme implementation class.

Definition at line 598 of file xtl_sym.h.

xtl_wrap< xtl_text_begin< CTTL_STD_STRING > > begin CTTL_STD_STRING const &  any_text_  )  [inline]
 

CTTL lexeme function generating implementation for begin(string&) expression.

Parameters: