parrotcode: routines for emitting PAST | |
Contents | Compilers |
pastout.c - routines for emitting PAST
Initial.
The PAST back-end implements the emit_data
data structure.
Currently,
only a single data member is used,
to control the indention.
static int indent(emit_data *data)
static int dedent(emit_data *data)
static void past_init(struct emit_data *data)
static void past_block(struct emit_data *data)
static void past_source(emit_data *data, char *source)
static void past_position(emit_data *data, int pos)
static void past_close(struct emit_data *data)
static void past_name(struct emit_data *data, char *name)
static void past_stmts(struct emit_data *data)
static void past_param(struct emit_data *data)
static void past_type(struct emit_data *data, char *type)
static void past_subflag(struct emit_data *data, int flag)
static void past_op(struct emit_data *data, char *op)
static void past_expr(struct emit_data *data, char *expr)
static void past_destroy(emit_data *data)
pirvtable *init_past_vtable(char *outputfile)
|