hide isl_map_add_basic_map
[isl.git] / isl_printer_private.h
blob29f3db57d36e6b84c70ed4541d5f20c8a28a199c
1 #include <isl/printer.h>
2 #include <isl_yaml.h>
4 struct isl_printer_ops;
6 /* A printer to a file or a string.
8 * yaml_style is the YAML style in which the next elements should
9 * be printed and may be either ISL_YAML_STYLE_BLOCK or ISL_YAML_STYLE_FLOW,
10 * with ISL_YAML_STYLE_FLOW being the default.
11 * yaml_state keeps track of the currently active YAML elements.
12 * yaml_size is the size of this arrays, while yaml_depth
13 * is the number of elements currently in use.
14 * yaml_state may be NULL if no YAML printing is being performed.
16 struct isl_printer {
17 struct isl_ctx *ctx;
18 struct isl_printer_ops *ops;
19 FILE *file;
20 int buf_n;
21 int buf_size;
22 char *buf;
23 int indent;
24 int output_format;
25 char *indent_prefix;
26 char *prefix;
27 char *suffix;
28 int width;
30 int yaml_style;
31 int yaml_depth;
32 int yaml_size;
33 enum isl_yaml_state *yaml_state;