31 lines
620 B
C
31 lines
620 B
C
|
|
#include <stdbool.h>
|
|
|
|
struct wcostream;
|
|
struct color_factory;
|
|
struct statement;
|
|
struct booleans;
|
|
struct environment;
|
|
|
|
struct statement_inheritance
|
|
{
|
|
struct stringtree* (*prettyprint)(
|
|
int *out_chosen_color,
|
|
struct statement* this,
|
|
bool with_color);
|
|
|
|
struct stringtree* (*prettyprint_errors)(
|
|
struct statement* this);
|
|
|
|
void (*execute)(
|
|
struct statement*,
|
|
struct environment**,
|
|
struct booleans* booleans,
|
|
struct wcostream*,
|
|
bool print_value,
|
|
bool print_with_color);
|
|
|
|
void (*free)(
|
|
struct statement*);
|
|
};
|
|
|