46 lines
718 B
C
46 lines
718 B
C
|
|
#include <debug.h>
|
|
|
|
/*#include <color_factory/struct.h>*/
|
|
|
|
/*#include <stringtree/new.h>*/
|
|
#include <stringtree/append.h>
|
|
#include <stringtree/prepend.h>
|
|
|
|
#include <expression/prettyprint.h>
|
|
|
|
#include "struct.h"
|
|
#include "inheritance.h"
|
|
#include "prettyprint.h"
|
|
|
|
struct stringtree* lazy_value_prettyprint(
|
|
int *out_chosen_color,
|
|
struct value* super,
|
|
bool with_color)
|
|
{
|
|
ENTER;
|
|
|
|
struct lazy_value* this = (void*) super;
|
|
|
|
struct stringtree* tree = expression_prettyprint(
|
|
out_chosen_color,
|
|
this->expression,
|
|
with_color);
|
|
|
|
/* stringtree_prepend_cstr(tree, L"lazy(");*/
|
|
/* stringtree_append_cstr(tree, L")");*/
|
|
|
|
EXIT;
|
|
return tree;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|