1 #ifndef ISL_PRINTER_PRIVATE_H
2 #define ISL_PRINTER_PRIVATE_H
4 #include <isl/printer.h>
6 #include <isl/id_to_id.h>
8 struct isl_printer_ops
;
10 /* A printer to a file or a string.
12 * "dump" is set if the printing is performed from an isl_*_dump function.
14 * yaml_style is the YAML style in which the next elements should
15 * be printed and may be either ISL_YAML_STYLE_BLOCK or ISL_YAML_STYLE_FLOW,
16 * with ISL_YAML_STYLE_FLOW being the default.
17 * yaml_state keeps track of the currently active YAML elements.
18 * yaml_size is the size of this arrays, while yaml_depth
19 * is the number of elements currently in use.
20 * yaml_state may be NULL if no YAML printing is being performed.
22 * notes keeps track of arbitrary notes as a mapping between
23 * name identifiers and note identifiers. It may be NULL
24 * if there are no notes yet.
28 struct isl_printer_ops
*ops
;
44 enum isl_yaml_state
*yaml_state
;
49 __isl_give isl_printer
*isl_printer_set_dump(__isl_take isl_printer
*p
,