ConstantTermEval Class Template Reference

This is the visitor that really computes the constant term. More...

Inheritance diagram for ConstantTermEval:

Inheritance graph
List of all members.

Public Types

typedef ConstantTermEval<
Series, T, Dispatch > 
typedef Element< Series, T
typedef Element< Series, T
typedef semiring_elt_t::value_t semiring_elt_value_t
typedef T::monoid_elt_value_t monoid_elt_value_t

Public Member Functions

 ConstantTermEval (const Element< Series, T > &exp)
 MATCH__ (Product, lhs, rhs)
END MATCH__ (Sum, lhs, rhs)
END MATCH_ (Star, node)
END MATCH__ (LeftWeight, w, node)
END MATCH__ (RightWeight, node, w)
END MATCH_ (Constant, m)
Element< Series, T >::semiring_elt_t match (const T &ast)
 Effectively performs the match.

Public Attributes

END bool undefined

Detailed Description

template<class Series, class T, class Dispatch>
class vcsn::ConstantTermEval< Series, T, Dispatch >

This is the visitor that really computes the constant term.

This class should be used only in constant_term() and should not be instanciated from elsewhere.

See also:

Definition at line 34 of file krat_exp_constant_term.hxx.

Member Function Documentation

Element< Series, T >::semiring_elt_t match const T &  ast  )  [inherited]

Effectively performs the match.

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

Referenced by vcsn::constant_term(), ConstantTermEval::MATCH_(), and ConstantTermEval::MATCH__().

Generated on Fri Jul 28 12:33:58 2006 for Vaucanson by  doxygen 1.4.6