17 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_IS_FINITE_APP_HXX
18 # define VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_IS_FINITE_APP_HXX
21 # include <vaucanson/algebra/implementation/series/krat_exp_pattern.hh>
25 template <
class Series,
class T,
class Dispatch>
26 class IsFiniteAppMatcher :
public algebra::KRatExpMatcher<
27 IsFiniteAppMatcher<Series, T, Dispatch>,
34 typedef IsFiniteAppMatcher<Series, T, Dispatch> self_t;
35 typedef bool return_type;
36 INHERIT_CONSTRUCTORS(self_t, T, return_type, Dispatch);
41 MATCH__(Product, lhs, rhs)
47 MATCH__(Sum, lhs, rhs)
59 MATCH__(LeftWeight, w, node)
62 return this->
match(node);
66 MATCH__(RightWeight, node, w)
69 return this->
match(node);
95 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_IS_FINITE_APP_HXX