Include file:
#include "mcrl2/data/structured_sort.h
mcrl2::data::
structured_sort
¶structured sort.
A structured sort is a sort with the following structure: struct c1(pr1,1:S1,1, …, pr1,k1:S1,k1)?is_c1 | … | cn(prn,1:Sn,1, …, prn,kn:Sn,kn)?is_cn in this:c1, …, cn are called constructors.pri,j are the projection functions (or constructor arguments).is_ci are the recognisers. brief A structured sort
friend class mcrl2::data::structured_sort::data_specification
friend function_symbol_vector mcrl2::data::structured_sort::sort_fbag::fbag_generate_constructors_code
friend data_equation_vector mcrl2::data::structured_sort::sort_fbag::fbag_generate_equations_code
friend function_symbol_vector mcrl2::data::structured_sort::sort_fbag::fbag_generate_functions_code
friend function_symbol_vector mcrl2::data::structured_sort::sort_fset::fset_generate_constructors_code
friend data_equation_vector mcrl2::data::structured_sort::sort_fset::fset_generate_equations_code
friend function_symbol_vector mcrl2::data::structured_sort::sort_fset::fset_generate_functions_code
friend class mcrl2::data::structured_sort::sort_specification
comparison_equations
() const¶Returns the equations for the functions used to implement comparison operators on this sort. Needed to do proper rewriting.
comparison_functions
() const¶Returns the additional functions of this sort, used to implement its comparison operators.
constructor_equations
() const¶Returns the equations for ==, < and <= for this sort, such that the result can be used by the rewriter internally.
constructor_functions
() const¶Returns the constructor functions of this sort, such that the result can be used by the rewriter.
constructors
() constoperator=
(const structured_sort&) noexcept = default¶operator=
(structured_sort&&) noexcept = default¶projection_equations
() const¶Generate equations for the projection functions of this sort.
Returns: A vector of equations for the projection functions of this sort.
projection_functions
() const¶Returns the projection functions of this sort, such that the result can be used by the rewriter.
recogniser_equations
() const¶Generate equations for the recognisers of this sort, assuming that this sort is referred to with s.
Returns: A vector of equations for the recognisers of this sort.
recogniser_functions
() const¶Returns the recogniser functions of this sort, such that the result can be used by the rewriter.
structured_sort
()¶brief Default constructor.
structured_sort
(const Container &constructors, typename atermpp::enable_if_container<Container, structured_sort_constructor>::type * = nullptr)¶brief Constructor.
structured_sort
(const structured_sort&) noexcept = default¶Move semantics.
structured_sort
(const structured_sort_constructor_list &constructors)¶brief Constructor.
structured_sort
(structured_sort&&) noexcept = default¶has_recogniser
(structured_sort_constructor const &s)¶comparison_equations
(const sort_expression &s) const¶comparison_functions
(const sort_expression &s) const¶constructor_equations
(const sort_expression &s) const¶constructor_functions
(const sort_expression &s) const¶equal_arguments_function
(const sort_expression &s) const¶projection_equations
(const sort_expression &s) const¶projection_functions
(const sort_expression &s) const¶recogniser_equations
(const sort_expression &s) const¶recogniser_functions
(const sort_expression &s) const¶smaller_arguments_function
(const sort_expression &s) const¶smaller_equal_arguments_function
(const sort_expression &s) const¶to_pos_function
(const sort_expression &s) const¶