#include "pt-stmt.h"
Private Attributes | |
std::string * | m_bp_cond |
int | m_column_num |
tree_command * | m_command |
comment_list * | m_comment_list |
tree_expression * | m_expression |
int | m_line_num |
|
inline |
|
inline |
|
delete |
octave::tree_statement::~tree_statement | ( | void | ) |
Definition at line 56 of file pt-stmt.cc.
References m_command, m_comment_list, and m_expression.
|
inlinevirtual |
Implements octave::tree.
Definition at line 122 of file pt-stmt.h.
References octave::tree_walker::visit_statement().
Referenced by echo_code(), octave::tree_anon_scopes::visit_statement_list(), and octave::tree_evaluator::visit_statement_list().
std::string octave::tree_statement::bp_cond | ( | void | ) | const |
Definition at line 109 of file pt-stmt.cc.
References octave::tree::bp_cond(), m_command, and m_expression.
Referenced by octave::tree_breakpoint::take_action().
|
inlineinherited |
Definition at line 66 of file pt.h.
References octave::tree::m_column_num.
|
virtual |
Reimplemented from octave::tree.
Definition at line 125 of file pt-stmt.cc.
References octave::tree::column(), m_command, and m_expression.
Referenced by octave::tree_evaluator::execute_user_function(), octave_user_function::maybe_relocate_end_internal(), octave::base_parser::maybe_warn_missing_semi(), octave::base_parser::start_function(), and octave::tree_evaluator::visit_statement().
|
inline |
Definition at line 99 of file pt-stmt.h.
References m_command.
Referenced by octave::tree_anon_scopes::visit_statement(), octave::tree_breakpoint::visit_statement(), octave::tree_evaluator::visit_statement(), octave::jit_convert::visit_statement(), octave::tree_print_code::visit_statement(), and octave::tree_walker::visit_statement().
|
inline |
Definition at line 103 of file pt-stmt.h.
References m_comment_list.
Referenced by octave::tree_print_code::visit_statement().
|
virtual |
Reimplemented from octave::tree.
Definition at line 86 of file pt-stmt.cc.
References octave::tree::delete_breakpoint(), m_command, and m_expression.
Referenced by octave::tree_breakpoint::take_action().
void octave::tree_statement::echo_code | ( | const std::string & | prefix | ) |
Definition at line 142 of file pt-stmt.cc.
References accept(), and octave_stdout.
|
inline |
Definition at line 101 of file pt-stmt.h.
References m_expression.
Referenced by octave::bp_table::condition_valid(), octave::tree_evaluator::eval_string(), octave::tree_evaluator::execute_user_function(), octave::base_parser::make_try_command(), octave::anonymous_fcn_handle::print_raw(), octave_user_function::special_expr(), octave::tree_anon_scopes::visit_statement(), octave::tree_evaluator::visit_statement(), octave::jit_convert::visit_statement(), octave::tree_print_code::visit_statement(), octave::tree_walker::visit_statement(), and octave::ctor_analyzer::visit_statement().
bool octave::tree_statement::is_active_breakpoint | ( | tree_evaluator & | tw | ) | const |
Definition at line 102 of file pt-stmt.cc.
References octave::tree::is_active_breakpoint(), m_command, and m_expression.
Referenced by octave::tree_evaluator::do_breakpoint().
bool octave::tree_statement::is_breakpoint | ( | void | ) | const |
Definition at line 95 of file pt-stmt.cc.
References octave::tree::is_breakpoint(), m_command, and m_expression.
Referenced by octave::tree_breakpoint::take_action().
|
inline |
Definition at line 78 of file pt-stmt.h.
References m_command.
Referenced by octave::tree_breakpoint::visit_statement().
bool octave::tree_statement::is_end_of_fcn_or_script | ( | void | ) | const |
Definition at line 150 of file pt-stmt.cc.
References octave::tree_no_op_command::is_end_of_fcn_or_script(), m_command, and retval.
Referenced by octave::tree_evaluator::do_breakpoint(), and octave_user_function::maybe_relocate_end_internal().
bool octave::tree_statement::is_end_of_file | ( | void | ) | const |
Definition at line 167 of file pt-stmt.cc.
References octave::tree_no_op_command::is_end_of_file(), m_command, and retval.
Referenced by octave_user_function::maybe_relocate_end_internal().
|
inline |
Definition at line 80 of file pt-stmt.h.
References m_expression.
Referenced by octave::bp_table::condition_valid(), octave::tree_evaluator::eval_string(), octave::base_parser::maybe_warn_missing_semi(), octave::anonymous_fcn_handle::print_raw(), and octave::ctor_analyzer::visit_statement().
|
inline |
Definition at line 105 of file pt-stmt.h.
References m_command, m_comment_list, and m_expression.
Referenced by octave::base_parser::set_stmt_print_flag().
|
inlineinherited |
Definition at line 64 of file pt.h.
References octave::tree::m_line_num.
|
virtual |
Reimplemented from octave::tree.
Definition at line 117 of file pt-stmt.cc.
References octave::tree::line(), m_command, and m_expression.
Referenced by octave::tree_evaluator::execute_user_function(), octave_user_function::maybe_relocate_end_internal(), octave::base_parser::maybe_warn_missing_semi(), octave::base_parser::start_function(), octave::tree_breakpoint::take_action(), octave::tree_breakpoint::visit_statement(), and octave::tree_evaluator::visit_statement().
|
inherited |
Definition at line 62 of file pt.cc.
References octave::tree_evaluator::eval_string(), octave::tree_evaluator::get_interpreter(), interpreter_try(), octave::tree::m_bp_cond, octave::interpreter::recover_from_exception(), retval, and warning().
Referenced by octave::tree::is_active_breakpoint().
|
delete |
bool octave::tree_statement::print_result | ( | void | ) |
Definition at line 71 of file pt-stmt.cc.
References m_expression, and octave::tree_expression::print_result().
Referenced by octave::tree_print_code::visit_statement().
|
virtual |
Reimplemented from octave::tree.
Definition at line 77 of file pt-stmt.cc.
References m_command, m_expression, and octave::tree::set_breakpoint().
Referenced by octave::tree_breakpoint::take_action().
|
inline |
|
inline |
Definition at line 120 of file pt-stmt.h.
References m_expression.
Referenced by octave::base_parser::make_try_command().
void octave::tree_statement::set_location | ( | int | l, |
int | c | ||
) |
Definition at line 133 of file pt-stmt.cc.
References m_command, m_expression, and octave::tree::set_location().
Referenced by octave_user_function::maybe_relocate_end_internal().
void octave::tree_statement::set_print_flag | ( | bool | print_flag | ) |
Definition at line 64 of file pt-stmt.cc.
References m_expression, and octave::tree_expression::set_print_flag().
Referenced by octave::base_parser::set_stmt_print_flag().
|
inherited |
Definition at line 46 of file pt.cc.
References octave::tree::accept(), and retval.
Referenced by octave::jit_info::compile(), and octave::tree_argument_list::get_arg_names().
|
privateinherited |
Definition at line 123 of file pt.h.
Referenced by octave::tree::bp_cond(), octave::tree::delete_breakpoint(), octave::tree::is_active_breakpoint(), octave::tree::is_breakpoint(), octave::tree::meets_bp_condition(), and octave::tree::set_breakpoint().
|
privateinherited |
Definition at line 120 of file pt.h.
Referenced by octave::tree::column(), and octave::tree::set_location().
|
private |
Definition at line 132 of file pt-stmt.h.
Referenced by ~tree_statement(), bp_cond(), column(), command(), delete_breakpoint(), is_active_breakpoint(), is_breakpoint(), is_command(), is_end_of_fcn_or_script(), is_end_of_file(), is_null_statement(), line(), set_breakpoint(), set_command(), and set_location().
|
private |
Definition at line 138 of file pt-stmt.h.
Referenced by ~tree_statement(), comment_text(), and is_null_statement().
|
private |
Definition at line 135 of file pt-stmt.h.
Referenced by ~tree_statement(), bp_cond(), column(), delete_breakpoint(), expression(), is_active_breakpoint(), is_breakpoint(), is_expression(), is_null_statement(), line(), print_result(), set_breakpoint(), set_expression(), set_location(), and set_print_flag().
|
privateinherited |
Definition at line 119 of file pt.h.
Referenced by octave::tree::line(), and octave::tree::set_location().