aboutsummaryrefslogtreecommitdiff
path: root/interpreter/print.h
blob: cc191b919139042111c14ce7123e7f2e9feb1f55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _H_PRINT
#define _H_PRINT

#include "syntax.h"
#include "graphs.h"

#include <stdio.h>

void print_token(token*);
void print_token_list(token_list*);

void print_expression(expression*);
void print_rewrite_rule(rewrite_rule*);
void print_fuspel(fuspel*);

void print_node(struct node*);

#ifdef _FUSPEL_DEBUG
struct visited_nodes {
	struct node* node;
	struct visited_nodes* next;
};

void print_node_to_file(struct node*, FILE*, struct visited_nodes*);
#endif

#endif