12#ifndef MCRL2_DATA_VARIABLE_H
13#define MCRL2_DATA_VARIABLE_H
38 const core::identifier_string&
name()
const
40 return atermpp::down_cast<core::identifier_string>((*
this)[0]);
45 return atermpp::down_cast<sort_expression>((*
this)[1]);
79template <
class... ARGUMENTS>
115std::string
pp(
const std::set<variable>& x);
116std::string
pp(
const std::set<variable>& x);
138 const hash<atermpp::aterm> hasher;
The term_appl class represents function application.
Term containing a string.
void swap(unprotected_aterm_core &t) noexcept
Swaps this term with its argument.
variable(const variable &) noexcept=default
Move semantics.
variable(const std::string &name, const sort_expression &sort)
Constructor.
variable(variable &&) noexcept=default
variable()
Default constructor.
const core::identifier_string & name() const
const sort_expression & sort() const
variable(const core::identifier_string &name, const sort_expression &sort)
Constructor.
variable(const atermpp::aterm &term)
Constructor.
The class data_expression.
aterm representations of identifier strings.
void make_term_appl(Term &target, const function_symbol &sym, ForwardIterator begin, ForwardIterator end)
Constructor an aterm in a variable based on a function symbol and an forward iterator providing the a...
const atermpp::function_symbol & function_symbol_DataVarId()
bool check_term_DataVarId(const Term &t)
void find_identifiers(const T &x, OutputIterator o)
void swap(abstraction &t1, abstraction &t2)
\brief swap overload
std::set< data::variable > find_all_variables(const data::data_expression &x)
void make_variable(atermpp::aterm &t, const ARGUMENTS &... args)
std::vector< variable > variable_vector
\brief vector of variables
std::string pp(const abstraction &x)
atermpp::term_list< variable > variable_list
\brief list of variables
std::ostream & operator<<(std::ostream &out, const abstraction &x)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
std::size_t operator()(const mcrl2::data::variable &v) const