|
mCRL2
|
Base class for tools that use a rewriter. More...
#include <rewriter_tool.h>
Public Member Functions | |
| rewriter_tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") | |
| Constructor. | |
| data::rewrite_strategy | rewrite_strategy () const |
| Returns the rewrite strategy. | |
| data::rewriter | create_rewriter (const data::data_specification &data_spec=data::data_specification()) |
| Creates a data rewriter as specified on the command line. | |
Protected Member Functions | |
| void | add_options (utilities::interface_description &desc, bool suppress_jittyp) |
| Add options to an interface description. Also includes rewriter options. | |
| void | add_options (utilities::interface_description &desc) override |
| Add options to an interface description. Also includes rewriter options. | |
| void | parse_options (const utilities::command_line_parser &parser) override |
| Parse non-standard options. | |
Protected Attributes | |
| data::rewrite_strategy | m_rewrite_strategy = mcrl2::data::jitty |
| The data rewriter strategy. | |
| std::size_t | m_qlimit =10 |
| The limit on the number of rewriting steps in quantifiers. By default 10;. | |
Base class for tools that use a rewriter.
Definition at line 24 of file rewriter_tool.h.
|
inline |
Constructor.
Definition at line 90 of file rewriter_tool.h.
|
inlineoverrideprotected |
Add options to an interface description. Also includes rewriter options.
| desc | An interface description |
Definition at line 69 of file rewriter_tool.h.
|
inlineprotected |
Add options to an interface description. Also includes rewriter options.
| desc | An interface description. |
| suppress_jittyp | Boolean that if true will prevent showing that jittyp is an option for rewriting. |
Definition at line 36 of file rewriter_tool.h.
|
inline |
Creates a data rewriter as specified on the command line.
| data_spec | A data specification |
Definition at line 109 of file rewriter_tool.h.
|
inlineoverrideprotected |
Parse non-standard options.
| parser | A command line parser |
Definition at line 73 of file rewriter_tool.h.
|
inline |
Returns the rewrite strategy.
Definition at line 101 of file rewriter_tool.h.
|
protected |
The limit on the number of rewriting steps in quantifiers. By default 10;.
Definition at line 30 of file rewriter_tool.h.
|
protected |
The data rewriter strategy.
Definition at line 28 of file rewriter_tool.h.