lambda-calculus/expression/literal/prettyprint.c
2025-01-13 20:36:07 -06:00

38 lines
512 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,
struct color_factory* cfactory,
bool with_color)
{
ENTER;
struct literal_expression* const this = (void*) super;
struct stringtree* tree = value_prettyprint(
out_chosen_color,
this->value, cfactory, with_color);
EXIT;
return tree;
}