26 #if ! defined (octave_pt_pr_code_h)
27 #define octave_pt_pr_code_h 1
29 #include "octave-config.h"
40 class tree_decl_command;
41 class tree_expression;
50 const std::string& pfx =
"",
51 bool pr_orig_txt =
true)
180 void newline (
const char *alt_txt =
", ");
void print_indented_comment(comment_list *comment_list)
void visit_binary_expression(tree_binary_expression &)
void visit_decl_elt(tree_decl_elt &)
void visit_superclass_ref(tree_superclass_ref &)
void print_comment_elt(const comment_elt &comment_elt)
void visit_break_command(tree_break_command &)
void visit_colon_expression(tree_colon_expression &)
void visit_argument_list(tree_argument_list &)
void visit_if_clause(tree_if_clause &)
void increment_indent_level(void)
void visit_postfix_expression(tree_postfix_expression &)
void visit_anon_fcn_handle(tree_anon_fcn_handle &)
bool m_print_original_text
void visit_constant(tree_constant &)
void visit_parameter_list(tree_parameter_list &)
void visit_function_def(tree_function_def &)
void visit_fcn_handle(tree_fcn_handle &)
void visit_matrix(tree_matrix &)
void reset_indent_level(void)
void visit_octave_user_script(octave_user_script &)
void visit_decl_command(tree_decl_command &)
void visit_simple_assignment(tree_simple_assignment &)
void visit_complex_for_command(tree_complex_for_command &)
void visit_decl_init_list(tree_decl_init_list &)
int m_curr_print_indent_level
void visit_statement(tree_statement &)
void newline(const char *alt_txt=", ")
void visit_simple_for_command(tree_simple_for_command &)
void visit_try_catch_command(tree_try_catch_command &)
~tree_print_code(void)=default
void visit_metaclass_query(tree_metaclass_query &)
void visit_cell(tree_cell &)
tree_print_code(const tree_print_code &)=delete
void visit_identifier(tree_identifier &)
void visit_if_command(tree_if_command &)
void visit_switch_case(tree_switch_case &)
void visit_octave_user_function_trailer(octave_user_function &)
void visit_prefix_expression(tree_prefix_expression &)
void visit_statement_list(tree_statement_list &)
void visit_switch_command(tree_switch_command &)
void print_comment_list(comment_list *comment_list)
void visit_return_command(tree_return_command &)
void decrement_indent_level(void)
void visit_multi_assignment(tree_multi_assignment &)
void visit_octave_user_function_header(octave_user_function &)
void visit_unwind_protect_command(tree_unwind_protect_command &)
void visit_while_command(tree_while_command &)
void visit_continue_command(tree_continue_command &)
void print_parens(const tree_expression &expr, const char *txt)
void visit_no_op_command(tree_no_op_command &)
std::stack< char > m_nesting
void visit_octave_user_function(octave_user_function &)
tree_print_code(std::ostream &os_arg, const std::string &pfx="", bool pr_orig_txt=true)
void visit_if_command_list(tree_if_command_list &)
tree_print_code & operator=(const tree_print_code &)=delete
void visit_do_until_command(tree_do_until_command &)
void visit_index_expression(tree_index_expression &)
void print_fcn_handle_body(tree_expression *)