Data Fields | |
int | indent |
int | cur_lineno |
int | cur_column |
int | line_begin |
int | use_column |
int | max_column |
int | print_internal_info |
char * | buffer |
int | content_len |
int | buf_len |
int | suspended |
const char * | filename |
struct ctrump_pprint_format * | fmt |
Definition at line 53 of file pretty-printer.c.
int printer::indent |
indent
Definition at line 54 of file pretty-printer.c.
Referenced by dedent(), indent(), init_printer(), print_decl_right(), and print_str().
今の行
Definition at line 55 of file pretty-printer.c.
Referenced by goto_loc(), init_printer(), and print_newline().
今のカラム位置
Definition at line 56 of file pretty-printer.c.
Referenced by delete_extra_space(), goto_loc(), init_printer(), print_decl_right(), print_newline(), and print_str().
行開始直後
Definition at line 57 of file pretty-printer.c.
Referenced by goto_bol(), init_printer(), print_newline(), and print_str().
プログラム中のカラムを使うか
Definition at line 58 of file pretty-printer.c.
Referenced by dedent(), goto_loc(), indent(), init_printer(), print_brace_close(), print_brace_open(), print_comma(), print_compound_stmt(), print_decl_right(), print_expr(), print_ext_fundef(), print_newline_if_not_use_column(), print_padding_around_braces(), print_padding_around_brackets(), print_padding_around_statement_parens(), print_space_around_assignment_op(), print_space_before_braces(), print_space_before_brackets(), print_space_before_statement_parens(), print_stmt(), print_str(), and print_typename().
内部情報を出力するかどうか
Definition at line 61 of file pretty-printer.c.
Referenced by init_printer(), and print_expr().
char* printer::buffer |
出力バッファ
Definition at line 63 of file pretty-printer.c.
Referenced by buf_putc(), buf_reserve(), ctrump_print_expr(), ctrump_print_expr_format(), ctrump_print_stmt(), ctrump_print_stmt_format(), ctrump_print_texpr_as_internal(), ctrump_print_texpr_as_typename(), ctrump_print_translation_unit(), ctrump_print_translation_unit_format(), delete_extra_space(), and init_printer().
出力バッファの中の文字数
Definition at line 64 of file pretty-printer.c.
Referenced by buf_putc(), ctrump_print_expr(), ctrump_print_expr_format(), ctrump_print_stmt(), ctrump_print_stmt_format(), ctrump_print_texpr_as_internal(), ctrump_print_texpr_as_typename(), ctrump_print_translation_unit(), ctrump_print_translation_unit_format(), delete_extra_space(), and init_printer().
int printer::buf_len |
出力バッファのサイズ
Definition at line 65 of file pretty-printer.c.
Referenced by buf_reserve(), and init_printer().
出力停止
Definition at line 67 of file pretty-printer.c.
Referenced by goto_loc(), init_printer(), pprint_tree(), print_newline(), and print_str().
const char* printer::filename |
出力しているCソースの名前
Definition at line 68 of file pretty-printer.c.
Referenced by init_printer(), and pprint_tree().
struct ctrump_pprint_format* printer::fmt [read] |
フォーマット
Definition at line 69 of file pretty-printer.c.
Referenced by dedent(), indent(), init_printer_with_format(), print_brace_close(), print_brace_open(), print_comma(), print_compound_stmt(), print_decl_right(), print_expr(), print_ext_fundef(), print_padding_around_braces(), print_padding_around_brackets(), print_padding_around_statement_parens(), print_space_around_assignment_op(), print_space_before_braces(), print_space_before_brackets(), print_space_before_statement_parens(), print_stmt(), and print_typename().