mcrl2/modal_formula/rewrite.h

Include file:

#include "mcrl2/modal_formula/rewrite.h"

Functions

void mcrl2::action_formulas::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::action_formulas::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::action_formulas::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::action_formulas::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

void mcrl2::regular_formulas::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::regular_formulas::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::regular_formulas::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::regular_formulas::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

void mcrl2::state_formulas::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::state_formulas::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::state_formulas::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::state_formulas::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