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

GenericMatcher Struct Template Reference

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

List of all members.

Public Member Functions

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


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.


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


Generated on Sun Jul 18 14:31:02 2004 for Vaucanson by doxygen 1.3.7