Include file:
#include "mcrl2/data/rewriter.h
mcrl2::data::
rewriter
¶Rewriter that operates on data expressions.
As long as normalisation of sorts remains necessary, the data specification object used for construction must exist during the lifetime of the rewriter object.
default_specification
()¶Default specification used if no specification is specified at construction.
empty_substitution
()¶Constructor for internal use.
Parameters:
clone
()Create a clone of the rewriter in which the underlying rewriter is copied, and not passed as a shared pointer.
This is useful when the rewriter is used in different parallel processes. One rewriter can only be used sequentially.
Returns: A rewriter, with a copy of the underlying jitty, jittyc or jittyp rewriting engine.
operator()
(const data_expression &d) constRewrites a data expression.
Parameters:
Returns: The normal form of d.
operator()
(const data_expression &d, const SubstitutionFunction &sigma) const¶Rewrites the data expression d, and on the fly applies a substitution function. to data variables.
Parameters:
Returns: The normal form of the term.
operator()
(const data_expression &d, substitution_type &sigma) const¶Rewrites the data expression d, and on the fly applies a substitution function to data variables.
Parameters:
Returns: The normal form of the term.
operator()
(data_expression &result, const data_expression &d, const SubstitutionFunction &sigma) const¶Rewrites the data expression d, and on the fly applies a substitution function. to data variables.
Parameters:
operator()
(data_expression &result, const data_expression &d, substitution_type &sigma) const¶Rewrites the data expression d, and on the fly applies a substitution function to data variables.
Parameters:
rewriter
(const data_specification &d, const EquationSelector &selector, const strategy s = jitty)¶Constructor.
Parameters:
rewriter
(const data_specification &d = rewriter::default_specification(), const strategy s = jitty)¶Constructor.
Parameters:
thread_initialise
()¶Initialises this rewriter with thread dependent information.
This function sets a pointer to the m_busy_flag and m_forbidden_flag of this. process, such that rewriter can access these faster than via the general thread. local mechanism. It is expected that this is not needed when compilers become. faster, and should be removed in due time.
~rewriter
()¶