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

xtl_primary.h File Reference


Detailed Description

Defines CTTL lexeme implementation classes.

Warning:
This is internal CTTL header file and should not be included by user programs.
See also:

Definition in file xtl_primary.h.

#include <set>

Include dependency graph for xtl_primary.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  cttl_impl

Classes

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...

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.


Function Documentation

xtl_wrap< xtl_member_traced_predicate< ObjectT, PredicateT > > xtl_traced_rule int  line_,
char const *  rule_name_,
ObjectT &  object_ref_,
PredicateT  pred_
[inline]
 

Creator helper function that makes an instance of cttl_impl::xtl_member_traced_predicate.

ObjectT
Template parameter specifying type of C++ class that defines non-static member function Member_predicateT.
Member_predicateT
Template parameter specifying type of a non-static member function, accepting specialization of cttl::const_edge or cttl::edge as a parameter, and returning size_t evaluation result.
Parameters:
line_ Source code line that invokes the rule.
rule_name_ Name of the grammar rule function.
object_ref_ Object reference.
pred_ Address of the rule implementation member function, which can be declared either const or mutable.
Returns:
Instance of C++ implementation class for CTTL member function adaptor.

Definition at line 4162 of file xtl_primary.h.

xtl_wrap< xtl_static_traced_predicate< Static_predicateT > > xtl_traced_rule int  line_,
char const *  rule_name_,
const Static_predicateT  pred_
[inline]
 

Creator helper function that makes an instance of cttl_impl::xtl_static_traced_predicate.

Static_predicateT
Template parameter specifying type which is copy-constructible, and, if UniverseT is a typename that represents cttl::const_edge or cttl::edge, Static_predicateT can be invoked as
size_t operator()( UniverseT& );
Parameters:
line_ Source code line that invokes the rule.
rule_name_ Name of the grammar rule.
pred_ Address of the rule implementation function, which can be either global, or static member function.
Returns:
Instance of C++ implementation class for CTTL static grammar rule adaptor.

Definition at line 4120 of file xtl_primary.h.


Generated on Thu Nov 2 17:44:45 2006 for Common Text Transformation Library by  doxygen 1.3.9.1