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) |
Add options to an interface description. Also includes rewriter options. | |
void | parse_options (const utilities::command_line_parser &parser) |
Parse non-standard options. | |
Protected Attributes | |
data::rewrite_strategy | m_rewrite_strategy |
The data rewriter strategy. | |
Base class for tools that use a rewriter.
Definition at line 30 of file rewriter_tool.h.
|
inline |
Constructor.
Definition at line 101 of file rewriter_tool.h.
|
inlineprotected |
Add options to an interface description. Also includes rewriter options.
desc | An interface description |
Definition at line 73 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 40 of file rewriter_tool.h.
|
inline |
Creates a data rewriter as specified on the command line.
data_spec | A data specification |
Definition at line 121 of file rewriter_tool.h.
|
inlineprotected |
Parse non-standard options.
parser | A command line parser |
Definition at line 81 of file rewriter_tool.h.
|
inline |
Returns the rewrite strategy.
Definition at line 113 of file rewriter_tool.h.
|
protected |
The data rewriter strategy.
Definition at line 34 of file rewriter_tool.h.