mCRL2
Loading...
Searching...
No Matches
mcrl2::core::traverser< Derived > Struct Template Reference

expression traverser that visits all sub expressions More...

#include <traverser.h>

Inheritance diagram for mcrl2::core::traverser< Derived >:
mcrl2::action_formulas::action_formula_traverser_base< Derived > mcrl2::pbes_system::pbes_expression_traverser_base< Derived > mcrl2::pres_system::pres_expression_traverser_base< Derived > mcrl2::regular_formulas::regular_formula_traverser_base< Derived > mcrl2::state_formulas::state_formula_traverser_base< Derived >

Public Member Functions

template<typename Expression >
void enter (Expression const &)
 
template<typename Expression >
void leave (Expression const &)
 
template<typename T >
void apply (const T &x, typename atermpp::disable_if_container< T >::type *=nullptr)
 
template<typename Container >
void apply (Container const &container, typename atermpp::enable_if_container< Container >::type *=nullptr)
 
void apply (const core::identifier_string &x)
 

Detailed Description

template<typename Derived>
struct mcrl2::core::traverser< Derived >

expression traverser that visits all sub expressions

Types:

  • Derived the type of a derived class, as per CRTP

Definition at line 31 of file traverser.h.

Member Function Documentation

◆ apply() [1/3]

template<typename Derived >
void mcrl2::core::traverser< Derived >::apply ( const core::identifier_string x)
inline

Definition at line 59 of file traverser.h.

◆ apply() [2/3]

template<typename Derived >
template<typename T >
void mcrl2::core::traverser< Derived >::apply ( const T &  x,
typename atermpp::disable_if_container< T >::type *  = nullptr 
)
inline

Definition at line 42 of file traverser.h.

◆ apply() [3/3]

template<typename Derived >
template<typename Container >
void mcrl2::core::traverser< Derived >::apply ( Container const &  container,
typename atermpp::enable_if_container< Container >::type *  = nullptr 
)
inline

Definition at line 50 of file traverser.h.

◆ enter()

template<typename Derived >
template<typename Expression >
void mcrl2::core::traverser< Derived >::enter ( Expression const &  )
inline

Definition at line 34 of file traverser.h.

◆ leave()

template<typename Derived >
template<typename Expression >
void mcrl2::core::traverser< Derived >::leave ( Expression const &  )
inline

Definition at line 38 of file traverser.h.


The documentation for this struct was generated from the following file: