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

xtl_char_begin Class Template Reference

#include <xtl_primary.h>

Inheritance diagram for xtl_char_begin:

Inheritance graph
[legend]
Collaboration diagram for xtl_char_begin:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename CharT>
class cttl_impl::xtl_char_begin< CharT >

Implements behavior of begin(char), upper boundary of single character literal lexeme inside CTTL grammar expressions.

CharT
Template parameter specifying character type.

Definition at line 836 of file xtl_primary.h.

Public Member Functions

 xtl_char_begin (CharT char_)
 Constructs and initializes the object.
template<typename UniverseT>
size_t internal_match (UniverseT &edge_)
 Implements match grammar evaluation method.
template<typename UniverseT>
size_t internal_find (UniverseT &edge_)
 Implements search grammar evaluation method.


Member Function Documentation

size_t internal_find UniverseT &  edge_  )  [inline]
 

Implements search grammar evaluation method.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result: if method succeeds, it returns absolute offset corresponding to the upper boundary of the matched symbol. Otherwise, it returns UniverseT::string_T::npos, indicating that the evaluation method has failed.

Definition at line 904 of file xtl_primary.h.

size_t internal_match UniverseT &  edge_  )  [inline]
 

Implements match grammar evaluation method.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result: if method succeeds, it returns absolute offset corresponding to the upper boundary of the matched symbol. Otherwise, it returns UniverseT::string_T::npos, indicating that the evaluation method has failed.

Definition at line 872 of file xtl_primary.h.


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 17:45:59 2006 for Common Text Transformation Library by  doxygen 1.3.9.1