#include "pt-stmt.h"
Definition at line 42 of file pt-stmt.h.
tree_statement::tree_statement | ( | void | ) | [inline] |
tree_statement::tree_statement | ( | tree_command * | c, | |
octave_comment_list * | cl | |||
) | [inline] |
tree_statement::tree_statement | ( | tree_expression * | e, | |
octave_comment_list * | cl | |||
) | [inline] |
tree_statement::~tree_statement | ( | void | ) |
Definition at line 52 of file pt-stmt.cc.
tree_statement::tree_statement | ( | const tree_statement & | ) | [private] |
void tree_statement::accept | ( | tree_walker & | tw | ) |
Definition at line 149 of file pt-stmt.cc.
References tree_walker::visit_statement().
Referenced by echo_code(), tree_print_code::visit_statement_list(), tree_evaluator::visit_statement_list(), tree_checker::visit_statement_list(), and tree_breakpoint::visit_statement_list().
int tree_statement::column | ( | void | ) | const |
Definition at line 103 of file pt-stmt.cc.
References cmd, tree::column(), and expr.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_backtrace_error_message(), octave_call_stack::do_caller_user_code_column(), octave_call_stack::do_current_column(), and octave_call_stack::do_goto_frame().
tree_command* tree_statement::command | ( | void | ) | [inline] |
Definition at line 77 of file pt-stmt.h.
Referenced by tree_print_code::visit_statement(), tree_evaluator::visit_statement(), tree_checker::visit_statement(), and tree_breakpoint::visit_statement().
octave_comment_list* tree_statement::comment_text | ( | void | ) | [inline] |
Definition at line 81 of file pt-stmt.h.
Referenced by tree_print_code::visit_statement().
void tree_statement::delete_breakpoint | ( | void | ) |
Definition at line 82 of file pt-stmt.cc.
References cmd, tree::delete_breakpoint(), and expr.
Referenced by tree_breakpoint::take_action().
tree_statement * tree_statement::dup | ( | symbol_table::scope_id | scope, | |
symbol_table::context_id | context | |||
) | const |
Definition at line 134 of file pt-stmt.cc.
References cmd, comm, octave_comment_list::dup(), tree_expression::dup(), tree_command::dup(), expr, and tree_statement().
Referenced by tree_statement_list::dup().
void tree_statement::echo_code | ( | void | ) |
Definition at line 109 of file pt-stmt.cc.
References accept(), octave_stdout, and VPS4.
Referenced by tree_evaluator::visit_statement().
tree_expression* tree_statement::expression | ( | void | ) | [inline] |
Definition at line 79 of file pt-stmt.h.
Referenced by octave_fcn_binder::maybe_binder(), tree_print_code::print_fcn_handle_body(), tree_print_code::visit_statement(), tree_evaluator::visit_statement(), and tree_checker::visit_statement().
bool tree_statement::is_breakpoint | ( | void | ) | const |
Definition at line 91 of file pt-stmt.cc.
References cmd, expr, and tree::is_breakpoint().
Referenced by tree_evaluator::do_breakpoint(), and tree_breakpoint::take_action().
bool tree_statement::is_command | ( | void | ) | const [inline] |
Definition at line 62 of file pt-stmt.h.
Referenced by tree_breakpoint::visit_statement().
bool tree_statement::is_end_of_fcn_or_script | ( | void | ) | const |
Definition at line 117 of file pt-stmt.cc.
References cmd, and tree_no_op_command::is_end_of_fcn_or_script().
Referenced by tree_evaluator::do_breakpoint().
bool tree_statement::is_null_statement | ( | void | ) | const [inline] |
int tree_statement::line | ( | void | ) | const |
Definition at line 97 of file pt-stmt.cc.
References cmd, expr, and tree::line().
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_backtrace_error_message(), octave_call_stack::do_caller_user_code_line(), octave_call_stack::do_current_line(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), tree_breakpoint::take_action(), and tree_breakpoint::visit_statement().
tree_statement& tree_statement::operator= | ( | const tree_statement & | ) | [private] |
bool tree_statement::print_result | ( | void | ) |
Definition at line 67 of file pt-stmt.cc.
References expr, and tree_expression::print_result().
Referenced by tree_print_code::visit_statement().
void tree_statement::set_breakpoint | ( | void | ) |
Definition at line 73 of file pt-stmt.cc.
References cmd, expr, and tree::set_breakpoint().
Referenced by tree_breakpoint::take_action().
void tree_statement::set_command | ( | tree_command * | c | ) | [inline] |
void tree_statement::set_expression | ( | tree_expression * | e | ) | [inline] |
void tree_statement::set_print_flag | ( | bool | print_flag | ) |
Definition at line 60 of file pt-stmt.cc.
References expr, and tree_expression::set_print_flag().
tree_command* tree_statement::cmd [private] |
Definition at line 105 of file pt-stmt.h.
Referenced by column(), delete_breakpoint(), dup(), is_breakpoint(), is_end_of_fcn_or_script(), line(), set_breakpoint(), and ~tree_statement().
octave_comment_list* tree_statement::comm [private] |
Definition at line 111 of file pt-stmt.h.
Referenced by dup(), and ~tree_statement().
tree_expression* tree_statement::expr [private] |
Definition at line 108 of file pt-stmt.h.
Referenced by column(), delete_breakpoint(), dup(), is_breakpoint(), line(), print_result(), set_breakpoint(), set_print_flag(), and ~tree_statement().