lambda-calc-1/expression/literal/prettyprint.c

37 lines
466 B
C

#include <debug.h>
#include <value/prettyprint.h>
#include "struct.h"
#include "prettyprint.h"
struct stringtree* literal_expression_prettyprint(
int *out_chosen_color,
struct expression* super,
bool with_color)
{
ENTER;
struct literal_expression* const this = (void*) super;
struct stringtree* tree = value_prettyprint(
out_chosen_color,
this->value, with_color);
EXIT;
return tree;
}