12#ifndef MCRL2_DATA_DETAIL_PRINT_PARSE_CHECK_H
13#define MCRL2_DATA_DETAIL_PRINT_PARSE_CHECK_H
15#include "mcrl2/data/parse.h"
16#include "mcrl2/data/print.h"
24 std::string xtext = data::pp(x);
26 std::string ytext = data::pp(y);
29 std::cerr <<
"--- ERROR: print_parse_check failed! ---\n";
30 std::cerr <<
"x = " << x <<
" " << xtext <<
"\n";
31 std::cerr <<
"y = " << y <<
" " << ytext <<
"\n";
38 std::string xtext = data::pp(x);
39 std::set<variable> v = data::find_free_variables(x);
41 std::string ytext = data::pp(y);
44 std::cerr <<
"--- ERROR: print_parse_check failed! ---\n";
45 std::cerr <<
"x = " << x <<
" " << xtext <<
"\n";
46 std::cerr <<
"y = " << y <<
" " << ytext <<
"\n";
data_specification()=default
Default constructor. Generate a data specification that contains only booleans and positive numbers.
void print_parse_check(const data_expression &x, const data_specification &dataspec=data_specification())
void print_parse_check(const sort_expression &x, const data_specification &dataspec=data_specification())