mcrl2/data/rewrite.h

Include file:

#include "mcrl2/data/rewrite.h"

add your file description here.

Classes

  • mcrl2::data::detail::rewrite_data_expressions_builder
  • mcrl2::data::detail::rewrite_data_expressions_with_substitution_builder

Functions

void mcrl2::data::rewrite(T &x, Rewriter R, typename std::enable_if<!std::is_base_of< atermpp::aterm, T >::value >::type *=nullptr)

Rewrites all embedded expressions in an object x.

Parameters:

  • x an object containing expressions
  • R a rewriter
T mcrl2::data::rewrite(const T &x, Rewriter R, typename std::enable_if<std::is_base_of<atermpp::aterm, T>::value>::type * = nullptr)

Rewrites all embedded expressions in an object x.

Parameters:

  • x an object containing expressions
  • R a rewriter

Returns: the rewrite result

void mcrl2::data::rewrite(T &x, Rewriter R, const Substitution &sigma, typename std::enable_if<!std::is_base_of< atermpp::aterm, T >::value >::type *=nullptr)

Rewrites all embedded expressions in an object x, and applies a substitution to variables on the fly.

Parameters:

  • x an object containing expressions
  • R a rewriter
  • sigma a substitution
T mcrl2::data::rewrite(const T &x, Rewriter R, const Substitution &sigma, typename std::enable_if<std::is_base_of<atermpp::aterm, T>::value>::type * = nullptr)

Rewrites all embedded expressions in an object x, and applies a substitution to variables on the fly.

Parameters:

  • x an object containing expressions
  • R a rewriter
  • sigma a substitution

Returns: the rewrite result

Functions

rewrite_data_expressions_builder<Builder, Rewriter> mcrl2::data::detail::make_rewrite_data_expressions_builder(Rewriter R)
rewrite_data_expressions_with_substitution_builder<Builder, Rewriter, Substitution> mcrl2::data::detail::make_rewrite_data_expressions_with_substitution_builder(Rewriter R, Substitution sigma)