YACDB
Yet Another C(rappy) Database
parser_dump.h
Go to the documentation of this file.
1
6#ifndef PARSER_DUMP_H
7#define PARSER_DUMP_H
8
9#include <stdio.h>
10#include "instruction.h"
11
18void dump_instrarray(FILE *f, InstrArray *Instrarray);
25void dump_instr(FILE *f, instr *instr);
32void dump_selinstr(FILE *f, struct SelInstr *selinstr);
39void dump_crtinstr(FILE *f, struct CrtInstr *crtinstr);
46void dump_addinstr(FILE *f, struct AddInstr *addinstr);
53void dump_condition(FILE *f, struct condition *cond);
54// Dump charray on screen
61void dump_charray(FILE *f, charray *array);
62
63#endif
Structures for instruction management.
void dump_condition(FILE *f, struct condition *cond)
Dump a condition in a file.
Definition: parser_dump.c:90
void dump_instrarray(FILE *f, InstrArray *Instrarray)
Dump an Instrarray in a file.
Definition: parser_dump.c:18
void dump_crtinstr(FILE *f, struct CrtInstr *crtinstr)
Dump a CrtInstr in a file.
Definition: parser_dump.c:60
void dump_instr(FILE *f, instr *instr)
Dump an instr in a file.
Definition: parser_dump.c:28
void dump_selinstr(FILE *f, struct SelInstr *selinstr)
Dump a SelInstr in a file.
Definition: parser_dump.c:49
void dump_charray(FILE *f, charray *array)
Dump a charray in a file.
Definition: parser_dump.c:76
void dump_addinstr(FILE *f, struct AddInstr *addinstr)
Dump an AddInstr in a file.
Definition: parser_dump.c:68
Add instruction.
Definition: instruction.h:112
Create instruction.
Definition: instruction.h:96
An array of instruction.
Definition: instruction.h:128
Select instruction.
Definition: instruction.h:78
An array of char* (string)
Definition: instruction.h:48
An equality condition.
Definition: instruction.h:59
One yacDB instruction, this type is meant to be casted into other instr type.
Definition: instruction.h:69