cttl_impl contains implementation classes of CTTL library.
Classes | |
| struct | xtl_wrap |
| Wraps C++ types generated by compiler for CTTL grammar expressions. More... | |
| class | xtl_edge |
| Implements behavior of CTTL edge expression adaptor. More... | |
| class | xtl_node |
| Implements behavior of CTTL node expression adaptor. More... | |
| struct | xtl_bitflags |
| Encapsulates bit operations on an integer type. More... | |
| class | xtl_text_container |
| Encapsulates user input text and offset identity vector. More... | |
| class | xtl_text_container_impl |
| defines core functionality of the CTTL text container class. More... | |
| class | xtl_const_offset_manager |
Models behavior of size_t. More... | |
| class | xtl_mutable_offset_manager |
Models behavior of size_t, but delegates actual storage to the identity offset preserved by the identity vector maintained inside cttl_impl::xtl_text_container helper class. More... | |
| struct | xtl_edge_offset_manager |
Models behavior of a repository for logical positions of two nodes representing edge boundaries, const_edge::first and const_edge::second. More... | |
| class | xtl_identity_adjust_base |
| Base class for other offset helper classes. More... | |
| class | xtl_identity_collapse |
| Helper class implementing "collapse" algorithm. More... | |
| class | xtl_identity_insert_go |
| Helper class implementing "insert_go" adjustment. More... | |
| class | xtl_identity_insert_stay |
| Helper class implementing "insert_stay" adjustment. More... | |
| class | xtl_op_base_unary |
| Base implementation class for CTTL unary operators. More... | |
| class | xtl_op_base_binary |
| Base implementation class for CTTL binary operators. More... | |
| struct | xtl_opunarbang |
| Implements behavior of unary search operator. More... | |
| class | xtl_opunarstar |
| Implements behavior of unary Kleene star operator. More... | |
| class | xtl_opunarminus |
| Implements behavior of unary logical not operator. More... | |
| class | xtl_opunarplus |
| Implements behavior of various flavors of Kleene plus operators. More... | |
| struct | xtl_entity |
Implements behavior of entity expression adaptor, which enforces non-empty match of the encapsulated sub-expression. More... | |
| struct | xtl_opbinplus |
| Implements behavior of binary sequence operator. More... | |
| struct | xtl_opbinpipe |
| Implements behavior of binary set union operator. More... | |
| struct | xtl_opbin2pipe |
| Implements behavior of binary POSIX union operator. More... | |
| struct | xtl_opbinconcat |
| Implements behavior of binary concatenation operator. More... | |
| struct | xtl_opbinminus |
| Implements behavior of binary set complement operator. More... | |
| struct | xtl_opbinand |
| Implements behavior of binary set intersection operator. More... | |
| struct | xtl_primary |
| Implements grammar evaluation methods of terminal symbol lexeme implementation classes. More... | |
| class | xtl_bool |
| Defines behavior of true and false C++ literals inside CTTL grammar expressions. More... | |
| class | xtl_keyword |
Implements behavior of begin(std::set<std::string>&), the string set lexeme inside CTTL grammar expressions. More... | |
| class | xtl_char_symbol |
Implements behavior of symbol() lexeme inside CTTL grammar expressions. More... | |
| class | xtl_char |
Implements behavior of symbol(char), character literal lexeme inside CTTL grammar expressions. More... | |
| class | xtl_char_begin |
Implements behavior of begin(char), upper boundary of single character literal lexeme inside CTTL grammar expressions. More... | |
| class | xtl_char_end |
Implements behavior of end(char), lower boundary of the character literal lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswhat_begin |
Implements behavior of begin(is...), upper boundary of character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswhat_first |
Implements behavior of first(is...), first character of a character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswhat_end |
Implements behavior of end(is...), lower boundary of character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswhat_entity |
Implements behavior of entity(is...), character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswwhat_begin |
Implements behavior of begin(is...), upper boundary of wide character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswwhat_first |
Implements behavior of first(is...), first character of a wide character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswwhat_end |
Implements behavior of end(is...), lower boundary of wide character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_iswwhat_entity |
Implements behavior of entity(is...), wide character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_begin |
Implements behavior of begin(text), upper boundary of the user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_ref_begin |
Implements behavior of begin(text), upper boundary of the user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_end |
Implements behavior of end(text), lower boundary of the user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_ref_end |
Implements behavior of end(text), lower boundary of the user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_first |
Implements behavior of first(text), first character of the user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_ref_first |
Implements behavior of A href="grammar_reference.html#lexeme_first_text">first(text), first character of the user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_entity |
Implements behavior of entity(text), user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_ref_entity |
Implements behavior of entity(text), user-defined multi-character entity lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_symbol |
Implements behavior of symbol(text), string literal lexeme inside CTTL grammar expressions. More... | |
| class | xtl_text_ref_symbol |
Implements behavior of symbol(text), string literal lexeme inside CTTL grammar expressions. More... | |
| class | xtl_position_bof |
Defines behavior of begin(), beginning of the user input lexeme inside CTTL grammar expressions. More... | |
| class | xtl_position_eof |
Defines behavior of end(), universe lower boundary lexeme inside CTTL grammar expressions. More... | |
| class | xtl_predicate |
Implements behavior of CTTL function adaptor named rule(). More... | |
| class | xtl_member_predicate |
Implements behavior of CTTL member function adaptor, rule(). More... | |
| struct | xtl_traced_predicate_base |
| Base class for traced function adaptors. More... | |
| class | xtl_member_traced_predicate |
Implements behavior of CTTL member function adaptor, rule(). More... | |
| class | xtl_static_traced_predicate |
Implements behavior of CTTL function adaptor, rule(). More... | |
| class | xtl_quote_base |
| Defines behavior of generic quote. More... | |
| class | xtl_quote_generic |
Implements behavior of generic quote, defined by the match_pair() function. More... | |
| class | xtl_quote_bool |
| Implements behavior of asymmetric quote. More... | |
| class | xtl_quote_ansi_double_quote |
| Implements behavior of ANSI double quote. More... | |
| class | xtl_quote_ansi_single_quote |
| Implements behavior of ANSI single quote. More... | |
| class | xtl_quote_c_double_quote |
| Implements behavior of C double quote. More... | |
| class | xtl_quote_c_single_quote |
| Implements behavior of C single quote. More... | |
| class | xtl_region_map |
| Manages user-defined regions of user input text. More... | |
Typedefs | |
| typedef int(* | iswhat_T )(int) |
| Defines type of C character classification routine. | |
| typedef int(* | iswwhat_T )(wint_t) |
| Defines type of C wide character classification routine. | |
|
typedef xtl_wrap< xtl_opbinplus< relaxed_bool_T, xtl_wrap< xtl_opunarbang< xtl_wrap< xtl_position_eof > > > > > | universe_T |
| Defines type of epsilon symbol which succeeds on empty universe. | |
|
typedef xtl_wrap< xtl_bool< true > > | relaxed_bool_T |
Defines leximatic type created by begin(true) lexeme function. | |
|
typedef xtl_wrap< xtl_quote_ansi_single_quote< relaxed_bool_T, CTTL_STD_CHAR > > | ansi_single_quote_T |
Defines leximatic type created by cttl::ansi_single_quote(). | |
|
typedef xtl_wrap< xtl_quote_ansi_double_quote< relaxed_bool_T, CTTL_STD_CHAR > > | ansi_double_quote_T |
Defines leximatic type created by cttl::ansi_double_quote(). | |
|
typedef xtl_wrap< xtl_quote_c_single_quote< relaxed_bool_T, CTTL_STD_CHAR > > | c_single_quote_T |
Defines leximatic type created by cttl::c_single_quote(). | |
|
typedef xtl_wrap< xtl_quote_c_double_quote< relaxed_bool_T, CTTL_STD_CHAR > > | c_double_quote_T |
Defines leximatic type created by cttl::c_double_quote(). | |
|
typedef xtl_wrap< xtl_quote_ansi_single_quote< relaxed_bool_T, CTTL_STD_WCHAR > > | wchar_ansi_single_quote_T |
Defines leximatic type created by cttl::wchar_ansi_single_quote(). | |
|
typedef xtl_wrap< xtl_quote_ansi_double_quote< relaxed_bool_T, CTTL_STD_WCHAR > > | wchar_ansi_double_quote_T |
Defines leximatic type created by cttl::wchar_ansi_double_quote(). | |
|
typedef xtl_wrap< xtl_quote_c_single_quote< relaxed_bool_T, CTTL_STD_WCHAR > > | wchar_c_single_quote_T |
Defines leximatic type created by cttl::wchar_c_single_quote(). | |
|
typedef xtl_wrap< xtl_quote_c_double_quote< relaxed_bool_T, CTTL_STD_WCHAR > > | wchar_c_double_quote_T |
Defines leximatic type created by cttl::wchar_c_double_quote(). | |
Functions | |
| template<typename Static_predicateT> | |
| xtl_wrap< xtl_static_traced_predicate< Static_predicateT > > | xtl_traced_rule (int line_, char const *rule_name_, const Static_predicateT pred_) |
Creator helper function that makes an instance of cttl_impl::xtl_static_traced_predicate. | |
| template<typename ObjectT, typename PredicateT> | |
| xtl_wrap< xtl_member_traced_predicate< ObjectT, PredicateT > > | xtl_traced_rule (int line_, char const *rule_name_, ObjectT &object_ref_, PredicateT pred_) |
Creator helper function that makes an instance of cttl_impl::xtl_member_traced_predicate. | |
| template<typename UniverseT, typename MiddleT, typename RightT, typename CharT> | |
| bool | xtl_match_quote (UniverseT &edge_, MiddleT &middle_, RightT &right_, CharT const *chars2find_) |
| Implements evaluation behavior of single-character quote. | |
Variables | |
| const int | xtl_flag_default = 0 |
Defines default run-time behavior of runtime_match() grammar evaluation method. | |
| const int | xtl_flag_runtime_find = 1 |
Turns on runtime find mode of runtime_match() grammar evaluation method. | |
| const int | xtl_flag_runtime_bang_find = 2 |
Turns on runtime bang_find mode of runtime_match() grammar evaluation method. | |
| const int | xtl_identity_vector_default_size = 0 |
| Specifies default size of the identity vector. | |
|
||||||||||||||||||||
|
Implements evaluation behavior of single-character quote.
Definition at line 432 of file xtl_quote.h. References xtl_edge_offset_manager::first, xtl_edge_offset_manager::restore(), and xtl_edge_offset_manager::second. Referenced by xtl_quote_c_single_quote::match_pair(), and xtl_quote_ansi_single_quote::match_pair(). |
|
||||||||||||||||||||
|
Creator helper function that makes an instance of
Definition at line 4162 of file xtl_primary.h. |
|
||||||||||||||||
|
Creator helper function that makes an instance of
Definition at line 4120 of file xtl_primary.h. |
1.3.9.1