25#include "Function.hpp"
30 return cs(name).green();
35 s += latex_escape_characters(name);
45ostream& operator<<(ostream& out,
const Function& f) {
46 out <<
"Function: " << setw(params::output_width) << f.id
47 <<
" Name: " << setw(params::output_width + 20) << f.name
48 <<
" Arity: " << setw(params::output_width) << f.arity;
Basic representation of functions.
string make_LaTeX() const
Make a useable LaTeX version.
string to_string() const
make a useable string representation.
Simple addition of colour to strings and ostreams.