-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprnttree.h
42 lines (28 loc) · 1.24 KB
/
prnttree.h
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef PRNTTREE_H
#define PRNTTREE_H
#include <stdio.h>
#include "config.h"
#include "tree.h"
BEGIN_HEADER
/* ############################################################### */
/* External Declarations */
extern int debug_print_on;
/* indent - 2 spaces per level */
void indent ARGS((int levels, FILE *fp));
void fputs_metachr ARGS((char c, int in_str, FILE *fp));
/* Print the string, converting chars to escape sequences. */
void fputs_metastr ARGS((char *str, FILE *fp));
/* Return a string that represents the pointer. */
char *print_ptr ARGS((void *ptr));
/* Print the tree back out (as code - or close) */
void print_tree_as_dsm_code ARGS((treenode*, char *));
void print_tree ARGS((treenode*, FILE *fp));
void print_pcode ARGS((treenode*, FILE *fp));
void print_frag ARGS((treenode*, FILE *fp));
void print_type ARGS((treenode*, FILE *fp));
void show_leaf ARGS((leafnode*, int tabs, FILE *fp));
void show_tree ARGS((treenode*, FILE *fp));
void show_int_ntype ARGS((treenode*, FILE *fp));
/* ############################################################### */
END_HEADER
#endif /* PRNTTREE_H */