25#include "Function.hpp"
30 return cs(name).green();
35 s += latex_escape_characters(name);
42 for (
const char& c : name) {
56ostream& operator<<(ostream& out,
const Function& f) {
57 out <<
"Function: " << setw(params::output_width) << f.id
58 <<
" Name: " << setw(params::output_width + 20) << f.name
59 <<
" Arity: " << setw(params::output_width) << f.arity;
Basic representation of functions.
string make_Graphviz() const
Make a useable Graphviz version.
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.