Vcsn  2.8
Be Rational
visitor.hh File Reference
Include dependency graph for visitor.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vcsn::rat::const_visitor< Context >
 

Namespaces

 vcsn
 
 vcsn::rat
 

Macros

#define DEFINE(Type)
 
#define VCSN_RAT_VISIT(Type, Val)
 
#define VCSN_RAT_UNSUPPORTED(Type)
 

Macro Definition Documentation

◆ DEFINE

#define DEFINE (   Type)
Value:
using Type ## _t = Type<context_t>; \
virtual void visit(const Type ## _t& v)
return v
Definition: multiply.hh:362

Definition at line 46 of file visitor.hh.

◆ VCSN_RAT_UNSUPPORTED

#define VCSN_RAT_UNSUPPORTED (   Type)
Value:
VCSN_RAT_VISIT(Type, e) \
{ \
raise(me(), ": operator " #Type " not supported: ", \
to_string(rs_, e.shared_from_this())); \
}
std::string to_string(identities i)
Wrapper around operator<<.
Definition: identities.cc:38
#define VCSN_RAT_VISIT(Type, Val)
Definition: visitor.hh:71

Definition at line 75 of file visitor.hh.

Referenced by vcsn::rat::thompson_visitor< Aut, ExpSet >::operator()(), vcsn::rat::zpc_visitor< Aut, ExpSet >::operator()(), vcsn::rat::derivation_visitor< ExpSet >::operator()(), vcsn::rat::standard_visitor< Aut, ExpSet >::operator()(), and vcsn::rat::star_normal_form_visitor< ExpSet >::VCSN_RAT_VISIT().

◆ VCSN_RAT_VISIT

#define VCSN_RAT_VISIT (   Type,
  Val 
)
Value:
using Type ## _t = typename super_t::Type ## _t; \
void visit(const Type ## _t& Val) override

Definition at line 71 of file visitor.hh.

Referenced by vcsn::rat::printer< ExpSet >::print_(), and vcsn::rat::printer< ExpSet >::VCSN_RAT_VISIT().