17 #ifndef AWALI_CORE_RAT_INFO_HH
18 # define AWALI_CORE_RAT_INFO_HH
23 namespace awali {
namespace sttc
28 template <
typename RatExpSet>
30 :
public RatExpSet::const_visitor
34 using node_t =
typename ratexpset_t::node_t;
40 # define DEFINE(Type) \
42 using Type ## _t = typename super_type::Type ## _t; \
46 void visit(const Type ## _t& v);
Definition: ratexp.hh:280
Definition: ratexp.hh:262
RatExpSet ratexpset_t
Definition: info.hh:33
void operator()(const node_t &v)
For each node type, count its number of occurrences.
Definition: info.hxx:31
typename ratexpset_t::const_visitor super_type
Definition: info.hh:35
typename ratexpset_t::node_t node_t
Definition: info.hh:34
Definition: ratexp.hh:176
An inner node with multiple children.
Definition: ratexp.hh:115
An inner node implementing a weight.
Definition: ratexp.hh:208
#define DEFINE(Type)
Definition: info.hh:40
Main namespace of Awali.
Definition: ato.hh:22