aboutsummaryrefslogtreecommitdiff
path: root/interpreter/print.h
blob: 43a9d1919d9ef4b6679ef8df7c1bb4bcbc3c5e72 (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(struct token*);
void print_token_list(struct token_list*);

void print_expression(struct expression*);
void print_rewrite_rule(struct rewrite_rule*);
void print_fuspel(struct 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