#include <xtl_primary.h>
Public Member Functions | |
template<typename SubstrT > | |
size_t | match (SubstrT &edge_) |
Implements grammar evaluation algorithm for rule() function adaptor match algorithm. | |
xtl_static_traced_predicate (int line_, char const *rule_name_, Static_predicateT const &predicate_) | |
Constructs and initializes the object. |
Static_predicateT | specifies type which is copy-constructible, and, if SubstrT is a typename that represents cttl::const_edge or cttl::edge , Static_predicateT can be invoked as size_t operator()( SubstrT& );
|
Definition at line 4045 of file xtl_primary.h.
cttl_impl::xtl_static_traced_predicate< Static_predicateT >::xtl_static_traced_predicate | ( | int | line_, | |
char const * | rule_name_, | |||
Static_predicateT const & | predicate_ | |||
) |
Constructs and initializes the object.
Definition at line 4053 of file xtl_primary.h.
04058 : 04059 xtl_traced_predicate_base( line_, rule_name_ ), 04060 m_predicate( predicate_ ) 04061 { 04062 }
size_t cttl_impl::xtl_static_traced_predicate< Static_predicateT >::match | ( | SubstrT & | edge_ | ) |
Implements grammar evaluation algorithm for rule() function adaptor match algorithm.
SubstrT | specifies type of the parseable substring. Can be either cttl::const_edge or cttl::edge . |
edge_ | reference to the parseable substring. |
Definition at line 4081 of file xtl_primary.h.
04082 { 04083 trace_prolog( edge_, "" ); 04084 return trace_epilog( edge_, m_predicate( edge_ ) ); 04085 }