Debian Codegraph @

include/prism/prettyprint.h

raw symbols SCIP
1 /**
2 * @file prettyprint.h
3 *
4 * An AST node pretty-printer.
5 */
6 #ifndef PRISM_PRETTYPRINT_H
7 #define PRISM_PRETTYPRINT_Hcxx . . $ `include/prism/prettyprint.h:7:9`!
8
9 #include "prism/defines.h"cxx . . $ `<file>/include/prism/defines.h`/
10
11 #ifdef PRISM_EXCLUDE_PRETTYPRINT
12
13 void pm_prettyprint(void);
14
15 #else
16
17 #include <stdio.h>
18
19 #include "prism/ast.h"cxx . . $ `<file>/include/prism/ast.h`/
20 #include "prism/parser.h"cxx . . $ `<file>/include/prism/parser.h`/
21 #include "prism/util/pm_buffer.h"cxx . . $ `<file>/include/prism/util/pm_buffer.h`/
22
23 /**
24 * Pretty-prints the AST represented by the given node to the given buffer.
25 *
26 * @param output_buffer The buffer to write the pretty-printed AST to.
27 * @param parser The parser that parsed the AST.
28 * @param node The root node of the AST to pretty-print.
29 */
30 PRISM_EXPORTED_FUNCTIONcxx . . $ `include/prism/defines.h:50:19`! void pm_prettyprintcxx . . $ pm_prettyprint(2b6a4fa8a3861f61).(pm_buffer_tcxx . . $ pm_buffer_t# *output_buffer, const pm_parser_tcxx . . $ pm_parser_t# *parser, const pm_node_tcxx . . $ pm_node_t# *node);
31
32 #endif
33
34 #endif