See the pretty_print function decription
Definition in file prprint.hpp.
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef bool(* | prettyprint_callback_function )(const char *, void *) |
Functions | |
bool | pretty_print (SReference ref, prettyprint_callback_function fun, void *userdata, int indent=0, int margin=75, int indentstep=4) |
Pretty print an S-expression. |
|
Definition at line 27 of file prprint.hpp. |
|
Pretty print an S-expression. Lists are printed on one line if they fit the line, otherwise they get printed one item per line, indented.
Definition at line 30 of file prprint.cpp. References SString::c_str(), SExpressionCons::Car(), SExpressionCons::Cdr(), SReference::DynamicCastGetPtr(), SReference::IsEmptyList(), SString::length(), and pretty_print(). Referenced by pretty_print(). |