Include file:

#include "mcrl2/data/rewriter_tool.h
class mcrl2::data::tools::rewriter_tool

Base class for tools that use a rewriter.

Protected attributes

data::rewrite_strategy m_rewrite_strategy

The data rewriter strategy.

Protected member functions

void add_options(utilities::interface_description &desc)

Add options to an interface description. Also includes rewriter options.


  • desc An interface description
void parse_options(const utilities::command_line_parser &parser)

Parse non-standard options.


  • parser A command line parser

Public member functions

data::rewriter create_rewriter(const data::data_specification &data_spec = data::data_specification())

Creates a data rewriter as specified on the command line.


  • data_spec A data specification

Returns: A data rewriter

data::rewrite_strategy rewrite_strategy() const

Returns the rewrite strategy.

Returns: The rewrite strategy

rewriter_tool(const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues = "")