YACDB
Yet Another C(rappy) Database
parser_dump.h File Reference

Debug file to dump instructions. More...

#include <stdio.h>
#include "instruction.h"
Include dependency graph for parser_dump.h:

Go to the source code of this file.

Functions

void dump_instrarray (FILE *f, InstrArray *Instrarray)
 Dump an Instrarray in a file. More...
 
void dump_instr (FILE *f, instr *instr)
 Dump an instr in a file. More...
 
void dump_selinstr (FILE *f, struct SelInstr *selinstr)
 Dump a SelInstr in a file. More...
 
void dump_crtinstr (FILE *f, struct CrtInstr *crtinstr)
 Dump a CrtInstr in a file. More...
 
void dump_addinstr (FILE *f, struct AddInstr *addinstr)
 Dump an AddInstr in a file. More...
 
void dump_condition (FILE *f, struct condition *cond)
 Dump a condition in a file. More...
 
void dump_charray (FILE *f, charray *array)
 Dump a charray in a file. More...
 

Detailed Description

Debug file to dump instructions.

Author
Mateo

Function Documentation

◆ dump_addinstr()

void dump_addinstr ( FILE *  f,
struct AddInstr addinstr 
)

Dump an AddInstr in a file.

Parameters
fWhere to dump
InstrarrayThe AddInstr to dump

◆ dump_charray()

void dump_charray ( FILE *  f,
charray array 
)

Dump a charray in a file.

Parameters
fWhere to dump
InstrarrayThe charray to dump

◆ dump_condition()

void dump_condition ( FILE *  f,
struct condition cond 
)

Dump a condition in a file.

Parameters
fWhere to dump
InstrarrayThe condition to dump

◆ dump_crtinstr()

void dump_crtinstr ( FILE *  f,
struct CrtInstr crtinstr 
)

Dump a CrtInstr in a file.

Parameters
fWhere to dump
InstrarrayThe CrtInstr to dump

◆ dump_instr()

void dump_instr ( FILE *  f,
instr instr 
)

Dump an instr in a file.

Parameters
fWhere to dump
instrThe instr to dump

◆ dump_instrarray()

void dump_instrarray ( FILE *  f,
InstrArray Instrarray 
)

Dump an Instrarray in a file.

Parameters
fWhere to dump
InstrarrayThe InstrArray to dump

◆ dump_selinstr()

void dump_selinstr ( FILE *  f,
struct SelInstr selinstr 
)

Dump a SelInstr in a file.

Parameters
fWhere to dump
InstrarrayThe SelInstr to dump