mCRL2
Loading...
Searching...
No Matches
rewriter_wrapper.h
Go to the documentation of this file.
1// Author(s): Jeroen van der Wulp, Jan Friso Groote
2// Copyright: see the accompanying file COPYING or copy at
3// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
4//
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
11
12
13
14#ifndef _MCRL2_DATA_DETAIL_REWRITER_WRAPPER_H
15#define _MCRL2_DATA_DETAIL_REWRITER_WRAPPER_H
16
17#include "mcrl2/data/rewriter.h"
18
19namespace mcrl2
20{
21namespace data
22{
23
24namespace detail
25{
26
28{
29 public:
31
33
35 m_rewriter(r)
36 {}
37
39 {
40 return m_rewriter->rewrite(t,sigma);
41 }
42
44 {
45 return m_rewriter->rewrite(result, t, sigma);
46 }
47
49 {
51 return m_rewriter->rewrite(t,sigma);
52 }
53
54 void operator()(data_expression& result, const data_expression& t) const
55 {
57 m_rewriter->rewrite(result, t, sigma);
58 }
59
60 protected:
62};
63
64
65} // namespace detail
66} // namespace data
67} // namespace mcrl2
68
69#endif // _MCRL2_DATA_DETAIL_REWRITER_WRAPPER_H
Rewriter interface class.
Definition rewrite.h:42
virtual data_expression rewrite(const data_expression &term, substitution_type &sigma)=0
Rewrite an mCRL2 data term.
The class rewriter.
static RewriterCompilingJitty::substitution_type & sigma(RewriterCompilingJitty *this_rewriter)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
void operator()(data_expression &result, const data_expression &t, Rewriter::substitution_type &sigma) const
data_expression operator()(const data_expression &t, Rewriter::substitution_type &sigma) const
void operator()(data_expression &result, const data_expression &t) const
data_expression operator()(const data_expression &t) const
Rewriter::substitution_type substitution_type