GenericMatcher Struct Template Reference

GenericMatcher manages the dispatch of pattern matching. More...

Inheritance diagram for GenericMatcher:

Inheritance graph
[legend]
List of all members.

Public Types

typedef U return_type

Public Member Functions

match (const T &ast)
 Effectively performs the match.

Protected Member Functions

 GenericMatcher ()

Detailed Description

template<class Self, class T, class U, class F>
struct vcsn::algebra::GenericMatcher< Self, T, U, F >

GenericMatcher manages the dispatch of pattern matching.

GenericMatcher delegates the dispatch of pattern matching to a function-object: if you want to write an algorithm based on pattern matching, inherit from this class.

Definition at line 110 of file krat_exp_pattern.hh.


Member Function Documentation

U match ( const T &  ast  ) 

Effectively performs the match.

Parameters:
ast The object to perform the match on.
See also:
DispatchVisitor::DispatchVisitor

Definition at line 128 of file krat_exp_pattern.hxx.

Referenced by vcsn::cderivate(), vcsn::algebra::coefficient(), vcsn::constant_term(), vcsn::derivate(), vcsn::do_broken_derived_term_automaton(), vcsn::do_canonical(), vcsn::do_is_realtime(), vcsn::do_realtime(), vcsn::do_realtime_here(), KRatExpFlatten::flatten(), KRatExpExpander::get(), KRatExpLinearize::linearize(), Standard_OfVisitor::MATCH_(), KRatExpIsRealtime::MATCH_(), KRatExpIdentity< vcsn::algebra::KRatExpTranspose< vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >, vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >::MATCH_(), KRatExpPartialDerivation::MATCH_(), KRatExpLinearize::MATCH_(), KRatExpFlatten::MATCH_(), KRatExpExpander::MATCH_(), KRatExpDerivation::MATCH_(), ConstantTermEval::MATCH_(), KRatExpCDerivation::MATCH_(), KRatExpAciCanonical::MATCH_(), Standard_OfVisitor::MATCH__(), KRatExpTranspose::MATCH__(), SupportMatcher::MATCH__(), KRatExpIsRealtime::MATCH__(), KRatExpIdentity< vcsn::algebra::KRatExpTranspose< vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >, vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >::MATCH__(), KRatExpPartialDerivation::MATCH__(), KRatExpLinearize::MATCH__(), IsFiniteAppMatcher::MATCH__(), KRatExpFlatten::MATCH__(), KRatExpExpander::MATCH__(), KRatExpDerivation::MATCH__(), ConstantTermEval::MATCH__(), KRatExpCDerivation::MATCH__(), KRatExpInitialDerivation::MATCH__(), KRatExpAciCanonical::MATCH__(), vcsn::op_is_finite_app(), vcsn::op_support(), and vcsn::partial_derivate().


Generated on Wed Jun 13 17:03:32 2007 for Vaucanson by  doxygen 1.5.1