#include "pt-eval.h"
Classes | |
class | value_stack |
Public Types | |
typedef void(* | decl_elt_init_fcn) (tree_decl_elt &) |
enum | echo_state { ECHO_OFF = 0 , ECHO_SCRIPTS = 1 , ECHO_FUNCTIONS = 2 , ECHO_ALL = 4 } |
enum | stmt_list_type { SC_FUNCTION , SC_SCRIPT , SC_OTHER } |
Private Member Functions | |
void | bind_auto_fcn_vars (const string_vector &arg_names, const Matrix &ignored_outputs, int nargin, int nargout, bool takes_varargs, const octave_value_list &va_args) |
std::string | check_autoload_file (const std::string &nm) const |
void | do_breakpoint (bool is_breakpoint, bool is_end_of_fcn_or_script=false) |
void | do_breakpoint (tree_statement &stmt) |
void | echo_code (size_t line) |
bool | echo_this_file (const std::string &file, int type) const |
bool | is_logically_true (tree_expression *expr, const char *warn_for) |
bool | maybe_push_echo_state_cleanup (void) |
void | maybe_set_echo_state (void) |
void | push_echo_state_cleanup (unwind_protect &frame) |
bool | quit_loop_now (void) |
void | set_echo_state (int type, const std::string &file_name, size_t pos) |
void | uwp_set_echo_state (bool state, const std::string &file_name, size_t pos) |
Private Attributes | |
std::map< std::string, std::string > | m_autoload_map |
bp_table | m_bp_table |
int | m_breaking |
call_stack | m_call_stack |
int | m_continuing |
int | m_dbstep_flag |
size_t | m_debug_frame |
bool | m_debug_mode |
std::stack< debugger * > | m_debugger_stack |
int | m_echo |
std::string | m_echo_file_name |
size_t | m_echo_file_pos |
std::map< std::string, bool > | m_echo_files |
bool | m_echo_state |
bool | m_in_loop_command |
std::list< octave_value_list > | m_index_list |
int | m_index_position |
std::string | m_index_type |
octave_value | m_indexed_object |
interpreter & | m_interpreter |
const std::list< octave_lvalue > * | m_lvalue_list |
int | m_max_recursion_depth |
int | m_num_indices |
profiler | m_profiler |
std::string | m_PS4 |
bool | m_quiet_breakpoint_flag |
int | m_returning |
bool | m_silent_functions |
stmt_list_type | m_statement_context |
char | m_string_fill_char |
std::string | m_whos_line_format |
typedef void(* octave::tree_evaluator::decl_elt_init_fcn) (tree_decl_elt &) |
|
inline |
|
delete |
|
default |
void octave::tree_evaluator::add_autoload | ( | const std::string & | fcn, |
const std::string & | nm | ||
) |
Definition at line 3722 of file pt-eval.cc.
References check_autoload_file(), and m_autoload_map.
Referenced by Fautoload().
|
inline |
Definition at line 656 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
void octave::tree_evaluator::assign | ( | const std::string & | name, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 1390 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
Referenced by octave::interpreter::assign(), assignin(), bind_ans(), bind_auto_fcn_vars(), and visit_function_def().
void octave::tree_evaluator::assignin | ( | const std::string & | context, |
const std::string & | name, | ||
const octave_value & | val = octave_value () |
||
) |
Definition at line 1399 of file pt-eval.cc.
References assign(), octave::context, octave::call_stack::current_frame(), error(), octave::call_stack::goto_base_frame(), octave::call_stack::goto_caller_frame(), octave::iskeyword(), m_call_stack, name, octave::call_stack::restore_frame(), and octave::valid_identifier().
Referenced by octave::interpreter::assignin().
bool octave::tree_evaluator::at_top_level | ( | void | ) | const |
Definition at line 394 of file pt-eval.cc.
References octave::call_stack::at_top_level(), and m_call_stack.
Referenced by octave::interpreter::at_top_level(), do_dbstack(), octave::interpreter::main_loop(), and octave::event_manager::set_workspace().
std::list< std::string > octave::tree_evaluator::autoloaded_functions | ( | void | ) | const |
Definition at line 3700 of file pt-eval.cc.
References m_autoload_map.
Referenced by octave::interpreter::autoloaded_functions().
octave_map octave::tree_evaluator::backtrace | ( | octave_idx_type & | curr_user_frame, |
bool | print_subfn = true |
||
) | const |
Definition at line 1984 of file pt-eval.cc.
References octave::call_stack::backtrace(), and m_call_stack.
Referenced by do_dbstack(), Flasterror(), and octave::file_editor_tab::save_file().
octave_map octave::tree_evaluator::backtrace | ( | void | ) | const |
Definition at line 1990 of file pt-eval.cc.
References octave::call_stack::backtrace(), and m_call_stack.
std::list< std::shared_ptr< stack_frame > > octave::tree_evaluator::backtrace_frames | ( | void | ) | const |
Definition at line 1966 of file pt-eval.cc.
References octave::call_stack::backtrace_frames(), and m_call_stack.
std::list< std::shared_ptr< stack_frame > > octave::tree_evaluator::backtrace_frames | ( | octave_idx_type & | curr_user_frame | ) | const |
Definition at line 1960 of file pt-eval.cc.
References octave::call_stack::backtrace_frames(), and m_call_stack.
std::list< frame_info > octave::tree_evaluator::backtrace_info | ( | octave_idx_type & | curr_user_frame, |
bool | print_subfn = true |
||
) | const |
Definition at line 1972 of file pt-eval.cc.
References octave::call_stack::backtrace_info(), and m_call_stack.
Referenced by octave::error_system::throw_error().
std::list< frame_info > octave::tree_evaluator::backtrace_info | ( | void | ) | const |
Definition at line 1978 of file pt-eval.cc.
References octave::call_stack::backtrace_info(), and m_call_stack.
Referenced by backtrace_message().
std::string octave::tree_evaluator::backtrace_message | ( | void | ) | const |
Definition at line 2000 of file pt-eval.cc.
References line::line(), and backtrace_info().
Referenced by octave::error_system::vwarning().
void octave::tree_evaluator::bind_ans | ( | const octave_value & | val, |
bool | |||
) |
Definition at line 3511 of file pt-eval.cc.
References assign(), octave::feval(), octave_value::is_cs_list(), octave_value::is_defined(), octave_value_list::length(), octave_value::list_value(), ovl(), and octave_value_list::stash_name_tags().
Referenced by eval_string(), and visit_statement().
|
private |
Definition at line 4297 of file pt-eval.cc.
References octave::stack_frame::ARG_NAMES, assign(), octave_value_list::cell_value(), octave::stack_frame::IGNORED, octave::stack_frame::NARGIN, octave::stack_frame::NARGOUT, octave::stack_frame::SAVED_WARNING_STATES, and set_auto_fcn_var().
Referenced by execute_user_function().
|
inline |
|
inline |
Definition at line 683 of file pt-eval.h.
Referenced by eval_string().
octave_function * octave::tree_evaluator::caller_function | ( | void | ) | const |
Definition at line 1912 of file pt-eval.cc.
References octave::call_stack::current_function(), and m_call_stack.
Referenced by called_from_builtin(), Fclass(), Finferiorto(), Fsuperiorto(), and maybe_set_echo_state().
|
private |
Definition at line 4314 of file pt-eval.cc.
References octave::sys::env::absolute_pathname(), octave::call_stack::current_user_code(), octave::sys::file_ops::dir_sep_str(), octave::sys::base_file_stat::exists(), octave_user_code::fcn_file_name(), m_call_stack, octave::sys::env::make_absolute(), and warning_with_id().
Referenced by add_autoload(), and remove_autoload().
void octave::tree_evaluator::clear_all | ( | bool | force = false | ) |
Definition at line 2188 of file pt-eval.cc.
References octave::symbol_table::clear_functions(), clear_global_variables(), clear_variables(), octave::interpreter::get_symbol_table(), and m_interpreter.
Referenced by octave::interpreter::clear_all().
void octave::tree_evaluator::clear_global_variable | ( | const std::string & | name | ) |
Definition at line 2167 of file pt-eval.cc.
References octave::call_stack::clear_global_variable(), m_call_stack, and name.
Referenced by octave::interpreter::clear_global_variable().
void octave::tree_evaluator::clear_global_variable_pattern | ( | const std::string & | pattern | ) |
Definition at line 2173 of file pt-eval.cc.
References octave::call_stack::clear_global_variable_pattern(), and m_call_stack.
Referenced by octave::interpreter::clear_global_variable_pattern().
void octave::tree_evaluator::clear_global_variable_regexp | ( | const std::string & | pattern | ) |
Definition at line 2178 of file pt-eval.cc.
References octave::call_stack::clear_global_variable_regexp(), and m_call_stack.
Referenced by octave::interpreter::clear_global_variable_regexp().
void octave::tree_evaluator::clear_global_variables | ( | void | ) |
Definition at line 2183 of file pt-eval.cc.
References octave::call_stack::clear_global_variables(), and m_call_stack.
Referenced by clear_all(), and octave::interpreter::clear_global_variables().
|
inline |
Definition at line 650 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
void octave::tree_evaluator::clear_objects | ( | void | ) |
Definition at line 2127 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by octave::interpreter::clear_objects().
void octave::tree_evaluator::clear_symbol | ( | const std::string & | name | ) |
Definition at line 2200 of file pt-eval.cc.
References octave::symbol_table::clear_function(), clear_variable(), octave::interpreter::get_symbol_table(), m_interpreter, and name.
Referenced by octave::interpreter::clear_symbol().
void octave::tree_evaluator::clear_symbol_pattern | ( | const std::string & | pattern | ) |
Definition at line 2211 of file pt-eval.cc.
References octave::symbol_table::clear_function_pattern(), clear_variable_pattern(), octave::interpreter::get_symbol_table(), and m_interpreter.
Referenced by octave::interpreter::clear_symbol_pattern().
void octave::tree_evaluator::clear_symbol_regexp | ( | const std::string & | pattern | ) |
Definition at line 2222 of file pt-eval.cc.
References octave::symbol_table::clear_function_regexp(), clear_variable_regexp(), octave::interpreter::get_symbol_table(), and m_interpreter.
Referenced by octave::interpreter::clear_symbol_regexp().
void octave::tree_evaluator::clear_variable | ( | const std::string & | name | ) |
Definition at line 2135 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
Referenced by clear_symbol(), and octave::interpreter::clear_variable().
void octave::tree_evaluator::clear_variable_pattern | ( | const std::string & | pattern | ) |
Definition at line 2143 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_symbol_pattern(), and octave::interpreter::clear_variable_pattern().
void octave::tree_evaluator::clear_variable_regexp | ( | const std::string & | pattern | ) |
Definition at line 2151 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_symbol_regexp(), and octave::interpreter::clear_variable_regexp().
void octave::tree_evaluator::clear_variables | ( | void | ) |
Definition at line 2159 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_all(), and octave::interpreter::clear_variables().
|
inline |
|
inline |
Definition at line 692 of file pt-eval.h.
Referenced by eval_string().
octave_value_list octave::tree_evaluator::convert_return_list_to_const_vector | ( | tree_parameter_list * | ret_list, |
int | nargout, | ||
const Matrix & | ignored_outputs, | ||
const Cell & | varargout | ||
) |
Definition at line 1713 of file pt-eval.cc.
References evaluate(), is_defined(), len, octave::base_list< elt_type >::length(), Array< T >::numel(), and retval.
Referenced by execute_user_function().
octave_value_list octave::tree_evaluator::convert_to_const_vector | ( | tree_argument_list * | arg_list | ) |
Definition at line 1685 of file pt-eval.cc.
References octave_value::is_cs_list(), octave_value::is_defined(), octave_value_list::length(), and octave_value::list_value().
Referenced by octave::tree_cell::evaluate(), and octave::tree_index_expression::evaluate_n().
unwind_protect * octave::tree_evaluator::curr_fcn_unwind_protect_frame | ( | void | ) |
Definition at line 1897 of file pt-eval.cc.
References octave::call_stack::curr_fcn_unwind_protect_frame(), and m_call_stack.
Referenced by curr_fcn_unwind_protect_frame().
|
inline |
Definition at line 584 of file pt-eval.h.
Referenced by mexGetVariable(), mexPutVariable(), and octave::debugger::repl().
int octave::tree_evaluator::current_column | ( | void | ) | const |
Definition at line 1870 of file pt-eval.cc.
References octave::call_stack::current_column(), and m_call_stack.
octave_function * octave::tree_evaluator::current_function | ( | bool | skip_first = false | ) | const |
Definition at line 1907 of file pt-eval.cc.
References octave::call_stack::current_function(), and m_call_stack.
Referenced by mex::function_name(), octave::get_class_context(), octave_class::get_current_method_class(), get_current_shlib(), octave_class::in_class_method(), octave_classdef_superclass_ref::is_constructed_object(), octave::is_method_executing(), make_fcn_handle(), and print_usage().
std::string octave::tree_evaluator::current_function_name | ( | bool | skip_first = false | ) | const |
Definition at line 2342 of file pt-eval.cc.
References octave::call_stack::current_function(), m_call_stack, and octave_function::name().
int octave::tree_evaluator::current_line | ( | void | ) | const |
Definition at line 1865 of file pt-eval.cc.
References octave::call_stack::current_line(), and m_call_stack.
Referenced by octave::debugger::repl().
octave_user_code * octave::tree_evaluator::current_user_code | ( | void | ) | const |
Definition at line 1892 of file pt-eval.cc.
References octave::call_stack::current_user_code(), and m_call_stack.
Referenced by octave::debugger::repl().
|
inline |
Definition at line 397 of file pt-eval.h.
Referenced by octave::debugger::repl().
void octave::tree_evaluator::dbcont | ( | void | ) |
Definition at line 4082 of file pt-eval.cc.
References m_debugger_stack.
Referenced by Fdbcont(), and visit_return_command().
void octave::tree_evaluator::dbquit | ( | bool | all = false | ) |
Definition at line 4088 of file pt-eval.cc.
References m_debugger_stack.
Referenced by octave::file_editor_tab::confirm_dbquit_and_save(), and Fdbquit().
|
inline |
Definition at line 710 of file pt-eval.h.
Referenced by octave::interpreter::main_loop(), and octave::debugger::repl().
void octave::tree_evaluator::dbupdown | ( | int | n, |
bool | verbose = false |
||
) |
Definition at line 847 of file pt-eval.cc.
References octave::call_stack::dbupdown(), m_call_stack, m_debug_frame, and n.
Referenced by do_dbupdown().
|
inline |
|
inline |
Definition at line 575 of file pt-eval.h.
Referenced by octave::debugger::repl().
octave_user_code * octave::tree_evaluator::debug_user_code | ( | void | ) | const |
Definition at line 1902 of file pt-eval.cc.
References octave::call_stack::debug_user_code(), and m_call_stack.
int octave::tree_evaluator::debug_user_code_column | ( | void | ) | const |
Definition at line 1880 of file pt-eval.cc.
References octave::call_stack::debug_user_code_column(), and m_call_stack.
int octave::tree_evaluator::debug_user_code_line | ( | void | ) | const |
Definition at line 1875 of file pt-eval.cc.
References octave::call_stack::debug_user_code_line(), and m_call_stack.
Referenced by Fdblist().
void octave::tree_evaluator::debug_where | ( | std::ostream & | os | ) | const |
Definition at line 1885 of file pt-eval.cc.
References octave::call_stack::current_user_frame(), and m_call_stack.
Referenced by Fdbwhere().
void octave::tree_evaluator::define_parameter_list_from_arg_vector | ( | tree_parameter_list * | param_list, |
const octave_value_list & | args | ||
) |
Definition at line 1600 of file pt-eval.cc.
References octave::octave_lvalue::define(), error(), eval_decl_elt(), is_defined(), and octave_value_list::length().
Referenced by execute_user_function().
void octave::tree_evaluator::display_call_stack | ( | void | ) | const |
Definition at line 2098 of file pt-eval.cc.
References octave::call_stack::display(), and m_call_stack.
|
private |
Definition at line 3546 of file pt-eval.cc.
References octave::call_stack::current_frame(), enter_debugger(), m_call_stack, m_dbstep_flag, and m_debug_frame.
|
private |
Definition at line 3539 of file pt-eval.cc.
References octave::tree_statement::is_active_breakpoint(), and octave::tree_statement::is_end_of_fcn_or_script().
Referenced by visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command_list(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_command(), and visit_while_command().
void octave::tree_evaluator::do_unwind_protect_cleanup_code | ( | tree_statement_list * | list | ) |
Definition at line 3271 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::action_container::add_method(), octave::call_stack::current_column(), octave::call_stack::current_line(), octave::action_container::discard(), octave::interpreter::get_error_system(), m_breaking, m_call_stack, m_interpreter, m_returning, octave_interrupt_state, octave::action_container::protect_var(), octave::interpreter::recover_from_exception(), octave::action_container::run(), octave::error_system::save_exception(), octave::call_stack::set_column(), and octave::call_stack::set_line().
Referenced by visit_unwind_protect_command().
octave_value octave::tree_evaluator::do_who | ( | int | argc, |
const string_vector & | argv, | ||
bool | return_list, | ||
bool | verbose = false |
||
) |
Definition at line 3799 of file pt-eval.cc.
References octave::call_stack::do_who(), and m_call_stack.
octave_value octave::tree_evaluator::echo | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3949 of file pt-eval.cc.
References ECHO_ALL, ECHO_FUNCTIONS, ECHO_OFF, ECHO_SCRIPTS, error(), octave::fcn_file_in_path(), octave_value_list::length(), m_echo, m_echo_files, octave::sys::env::make_absolute(), octave_value_list::make_argv(), maybe_push_echo_state_cleanup(), maybe_set_echo_state(), octave_value(), and print_usage().
Referenced by octave::interpreter::interpreter(), and Fecho().
|
inline |
Definition at line 723 of file pt-eval.h.
Referenced by execute_user_function(), and execute_user_script().
|
private |
Definition at line 4259 of file pt-eval.cc.
References octave::call_stack::current_function(), octave::command_editor::decode_prompt_string(), octave_user_code::get_code_lines(), octave_base_value::is_user_code(), m_call_stack, m_echo_file_pos, m_PS4, and octave_stdout.
Referenced by visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_command(), visit_try_catch_command(), visit_unwind_protect_command(), and visit_while_command().
|
private |
Definition at line 4226 of file pt-eval.cc.
References ECHO_ALL, ECHO_FUNCTIONS, ECHO_SCRIPTS, m_echo, and m_echo_files.
Referenced by set_echo_state().
octave_map octave::tree_evaluator::empty_backtrace | ( | void | ) | const |
Definition at line 1995 of file pt-eval.cc.
References octave::call_stack::empty_backtrace(), and m_call_stack.
Referenced by Flasterror(), and octave::init_error_stack().
void octave::tree_evaluator::enter_debugger | ( | const std::string & | prompt = "debug> " | ) |
Definition at line 791 of file pt-eval.cc.
References octave::action_container::add(), octave::action_container::add_fcn(), octave::action_container::add_method(), octave::call_stack::current_frame(), octave::call_stack::dbupdown(), octave::error_system::debug_on_error(), octave::error_system::debug_on_warning(), octave::interpreter::get_error_system(), octave::command_history::ignore_entries(), octave::command_history::ignoring_entries(), m_call_stack, m_debug_frame, m_debugger_stack, m_interpreter, octave::debugger::repl(), octave::call_stack::restore_frame(), octave::error_system::set_debug_on_error(), and octave::error_system::set_debug_on_warning().
Referenced by do_breakpoint(), keyboard(), visit_statement(), and octave::error_system::vwarning().
octave_value_list octave::tree_evaluator::eval | ( | const std::string & | try_code, |
const std::string & | catch_code, | ||
int | nargout | ||
) |
Definition at line 570 of file pt-eval.cc.
References eval_string(), octave::interpreter::get_error_system(), m_interpreter, octave::interpreter::recover_from_exception(), retval, and octave::error_system::save_exception().
octave_value_list octave::tree_evaluator::eval | ( | const std::string & | try_code, |
int | nargout | ||
) |
Definition at line 562 of file pt-eval.cc.
References eval_string().
void octave::tree_evaluator::eval | ( | std::shared_ptr< tree_statement_list > & | stmt_list, |
bool | interactive | ||
) |
Definition at line 399 of file pt-eval.cc.
References m_breaking, m_interpreter, m_returning, octave_completion_matches_called, and octave::interpreter::recover_from_exception().
Referenced by octave::interpreter::eval(), and octave::interpreter::main_loop().
bool octave::tree_evaluator::eval_decl_elt | ( | tree_decl_elt * | elt | ) |
Definition at line 1780 of file pt-eval.cc.
References octave::octave_lvalue::assign(), octave::tree_expression::evaluate(), octave::tree_decl_elt::expression(), octave::tree_decl_elt::ident(), octave_value::op_asn_eq, and retval.
Referenced by define_parameter_list_from_arg_vector().
octave_value_list octave::tree_evaluator::eval_string | ( | const octave_value & | arg, |
bool | silent, | ||
int & | parse_status, | ||
int | nargout | ||
) |
Definition at line 553 of file pt-eval.cc.
References eval_string(), and octave_value::xstring_value().
octave_value octave::tree_evaluator::eval_string | ( | const std::string & | eval_str, |
bool | silent, | ||
int & | parse_status | ||
) |
Definition at line 540 of file pt-eval.cc.
References octave_value_list::empty(), eval_string(), and retval.
octave_value_list octave::tree_evaluator::eval_string | ( | const std::string & | eval_str, |
bool | silent, | ||
int & | parse_status, | ||
int | nargout | ||
) |
Definition at line 468 of file pt-eval.cc.
References octave::base_parser::at_end_of_input(), bind_ans(), breaking(), continuing(), octave::base_parser::disallow_command_syntax(), error(), octave::tree_expression::evaluate_n(), octave::tree_statement::expression(), octave::tree_expression::is_assignment_expression(), octave::tree_statement::is_expression(), octave::tree_expression::is_identifier(), is_variable(), m_interpreter, octave::tree_expression::print_result(), octave::base_parser::reset(), returning(), retval, octave::parser::run(), octave::tree_expression::set_print_flag(), and octave::base_parser::statement_list().
Referenced by eval(), eval_string(), octave::interpreter::eval_string(), evalin(), and octave::tree::meets_bp_condition().
octave_value_list octave::tree_evaluator::evalin | ( | const std::string & | context, |
const std::string & | try_code, | ||
const std::string & | catch_code, | ||
int | nargout | ||
) |
Definition at line 638 of file pt-eval.cc.
References octave::context, octave::call_stack::current_frame(), error(), eval_string(), octave::interpreter::get_error_system(), octave::call_stack::goto_base_frame(), octave::call_stack::goto_caller_frame(), m_call_stack, m_interpreter, octave::interpreter::recover_from_exception(), octave::call_stack::restore_frame(), retval, and octave::error_system::save_exception().
octave_value_list octave::tree_evaluator::evalin | ( | const std::string & | context, |
const std::string & | try_code, | ||
int | nargout | ||
) |
Definition at line 617 of file pt-eval.cc.
References octave::context, octave::call_stack::current_frame(), error(), eval_string(), octave::call_stack::goto_base_frame(), octave::call_stack::goto_caller_frame(), m_call_stack, and octave::call_stack::restore_frame().
Referenced by octave::interpreter::evalin().
octave_value octave::tree_evaluator::evaluate | ( | tree_decl_elt * | elt | ) |
Definition at line 1245 of file pt-eval.cc.
References octave::tree_identifier::evaluate(), octave::tree_decl_elt::ident(), octave_value(), and octave_value::storable_value().
Referenced by convert_return_list_to_const_vector(), and octave::is_method_executing().
octave_value_list octave::tree_evaluator::evaluate_end_expression | ( | const octave_value_list & | args | ) |
Definition at line 4124 of file pt-eval.cc.
References octave_value::class_name(), octave::call_stack::current_frame(), octave::end_value(), err_indexed_cs_list(), error(), octave::interpreter::feval(), octave::call_stack::find_current_user_frame(), octave::symbol_table::find_method(), octave::interpreter::get_symbol_table(), octave::call_stack::goto_frame(), index_position(), octave_value::is_cs_list(), octave_value::is_defined(), octave_value::is_undefined(), octave_value::isobject(), octave_value_list::length(), m_call_stack, m_index_list, m_index_position, m_index_type, m_indexed_object, m_interpreter, m_num_indices, n, num_indices(), octave_value(), ovl(), print_usage(), octave::call_stack::restore_frame(), and octave_value::subsref().
Referenced by Fend().
octave_value_list octave::tree_evaluator::execute_user_function | ( | octave_user_function & | user_function, |
int | nargout, | ||
const octave_value_list & | args | ||
) |
Definition at line 2673 of file pt-eval.cc.
References octave::tree_statement_list::accept(), bind_auto_fcn_vars(), octave::tree_statement::column(), convert_return_list_to_const_vector(), define_parameter_list_from_arg_vector(), echo(), ECHO_FUNCTIONS, error(), octave::tree_expression::evaluate_n(), octave::tree_jit::execute(), octave::tree_statement::expression(), octave::base_list< elt_type >::front(), octave::call_stack::get_current_stack_frame(), ignored_fcn_outputs(), octave_value::is_defined(), octave_value_list::length(), octave::base_list< elt_type >::length(), octave::tree_statement::line(), m_breaking, m_call_stack, m_max_recursion_depth, m_profiler, m_returning, m_statement_context, octave_value_list::name_tags(), panic_impossible, push_echo_state(), retval, SC_FUNCTION, octave::call_stack::set_location(), octave::call_stack::size(), octave_value_list::slice(), octave::tree_parameter_list::takes_varargs(), user_function(), octave::tree_parameter_list::varargs_only(), varval(), and octave_value::xcell_value().
Referenced by octave_user_function::execute().
octave_value_list octave::tree_evaluator::execute_user_script | ( | octave_user_script & | user_script, |
int | nargout, | ||
const octave_value_list & | args | ||
) |
Definition at line 2628 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave_user_code::body(), echo(), ECHO_SCRIPTS, error(), octave_user_code::fcn_file_name(), octave_value_list::length(), m_breaking, m_call_stack, m_max_recursion_depth, m_profiler, m_returning, m_statement_context, push_echo_state(), retval, SC_SCRIPT, and octave::call_stack::size().
Referenced by octave_user_script::execute().
void octave::tree_evaluator::final_index_error | ( | index_exception & | e, |
const tree_expression * | expr | ||
) |
Definition at line 3768 of file pt-eval.cc.
References octave::index_exception::err_id(), error_with_id(), octave::symbol_table::find_function(), octave_value::function_value(), octave::interpreter::get_symbol_table(), octave_value::is_function(), is_variable(), m_interpreter, octave_function::name(), octave::tree_expression::name(), and octave::index_exception::set_var().
Referenced by octave::tree_index_expression::evaluate_n().
octave_value octave::tree_evaluator::find | ( | const std::string & | name | ) |
Definition at line 2103 of file pt-eval.cc.
References octave::symbol_table::fcn_table_find(), octave::call_stack::get_current_stack_frame(), octave::interpreter::get_symbol_table(), octave_value::is_defined(), m_call_stack, m_interpreter, name, and ovl().
Referenced by octave::interpreter::find().
octave_value octave::tree_evaluator::get_auto_fcn_var | ( | stack_frame::auto_var_type | avt | ) | const |
Definition at line 1594 of file pt-eval.cc.
References octave::call_stack::get_auto_fcn_var(), and m_call_stack.
Referenced by F__varval__(), Fisargout(), Fnargin(), Fnargout(), Fwarning(), and octave_user_function::restore_warning_states().
octave_map octave::tree_evaluator::get_autoload_map | ( | void | ) | const |
Definition at line 3662 of file pt-eval.cc.
References m, and m_autoload_map.
Referenced by Fautoload().
|
inline |
Definition at line 372 of file pt-eval.h.
Referenced by octave::__get_bp_table__(), Fdbclear(), Fdbstatus(), Fdbstop(), octave::file_editor_tab::handle_dbstop_if(), and octave::error_system::vwarning().
|
inline |
Definition at line 376 of file pt-eval.h.
Referenced by octave::tree_anon_fcn_handle::evaluate().
symbol_scope octave::tree_evaluator::get_current_scope | ( | void | ) | const |
Definition at line 2045 of file pt-eval.cc.
References octave::call_stack::current_scope(), and m_call_stack.
Referenced by octave::symbol_table::current_scope(), octave::tree_anon_fcn_handle::evaluate(), octave::interpreter::get_current_scope(), and make_fcn_handle().
|
inline |
Definition at line 392 of file pt-eval.h.
Referenced by octave::tree_identifier::lvalue(), and octave::tree_black_hole::lvalue().
std::string octave::tree_evaluator::get_dispatch_class | ( | void | ) | const |
Definition at line 1937 of file pt-eval.cc.
References octave::call_stack::get_dispatch_class(), and m_call_stack.
Referenced by octave::get_class_context().
|
inline |
Definition at line 370 of file pt-eval.h.
Referenced by octave::bp_table::add_breakpoint_1(), octave::bp_table::condition_valid(), octave::bp_table::dbclear_all_signals(), octave::bp_table::dbstop_process_map_args(), octave::tree_binary_expression::evaluate(), octave::tree_compound_binary_expression::evaluate(), octave::tree_colon_expression::evaluate(), octave::tree_prefix_expression::evaluate(), octave::tree_postfix_expression::evaluate(), octave::tree_identifier::evaluate_n(), octave::tree_index_expression::evaluate_n(), octave_inline_fcn::execute(), octave::tm_const::generic_concat(), octave::tree::meets_bp_condition(), octave::bp_table::remove_all_breakpoints_in_file(), octave::bp_table::remove_breakpoint_1(), octave::bp_table::set_stop_flag(), and octave::bp_table::stop_on_err_warn_status().
|
inline |
Definition at line 374 of file pt-eval.h.
Referenced by octave::tree_binary_expression::evaluate(), octave::tree_prefix_expression::evaluate(), octave::tree_postfix_expression::evaluate(), octave_builtin::execute(), octave_mex_function::execute(), and octave::interpreter::get_profiler().
symbol_info_list octave::tree_evaluator::get_symbol_info | ( | void | ) |
Definition at line 3651 of file pt-eval.cc.
References octave::call_stack::get_symbol_info(), and m_call_stack.
Referenced by octave::main_window::handle_load_workspace_request(), octave::main_window::handle_open_any_request(), octave::main_window::handle_rename_variable_request(), octave::main_window::handle_variable_editor_update(), and octave::event_manager::set_workspace().
symbol_scope octave::tree_evaluator::get_top_scope | ( | void | ) | const |
Definition at line 2040 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::top_scope().
Referenced by octave::interpreter::get_top_scope().
octave_user_code * octave::tree_evaluator::get_user_code | ( | const std::string & | fname = "" , |
const std::string & | class_name = "" |
||
) |
Definition at line 2253 of file pt-eval.cc.
References octave::call_stack::debug_user_code(), octave::sys::file_ops::dir_sep_char(), octave::symbol_table::find_function(), octave::cdef_manager::find_method(), octave::symbol_table::find_method(), octave_user_code::find_subfunction(), octave::interpreter::get_cdef_manager(), octave::interpreter::get_symbol_table(), octave_value::is_defined(), octave_value::is_undefined(), octave_value::is_user_code(), m_call_stack, m_interpreter, name, and octave_value::user_code_value().
Referenced by octave::bp_table::add_breakpoint(), Fdblist(), Fdbtype(), octave::bp_table::get_breakpoint_list(), octave::get_user_code(), octave::bp_table::parse_dbfunction_params(), octave::bp_table::remove_all_breakpoints_in_file(), and octave::bp_table::remove_breakpoint().
symbol_info_list octave::tree_evaluator::glob_symbol_info | ( | const std::string & | pattern | ) | const |
Definition at line 3639 of file pt-eval.cc.
References octave::call_stack::glob_symbol_info(), and m_call_stack.
Referenced by octave::load_save_system::save_vars().
void octave::tree_evaluator::global_assign | ( | const std::string & | name, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 1370 of file pt-eval.cc.
References octave::call_stack::global_varref(), m_call_stack, and name.
Referenced by octave::interpreter::global_assign().
std::list< std::string > octave::tree_evaluator::global_variable_names | ( | void | ) | const |
Definition at line 2233 of file pt-eval.cc.
References octave::call_stack::global_variable_names(), and m_call_stack.
Referenced by octave::interpreter::global_variable_names().
octave_value & octave::tree_evaluator::global_varref | ( | const std::string & | name | ) |
Definition at line 1364 of file pt-eval.cc.
References octave::call_stack::global_varref(), m_call_stack, and name.
Referenced by octave::stack_frame::install_variable(), octave::script_stack_frame::varref(), octave::user_fcn_stack_frame::varref(), and octave::scope_stack_frame::varref().
octave_value octave::tree_evaluator::global_varval | ( | const std::string & | name | ) | const |
Definition at line 1358 of file pt-eval.cc.
References octave::call_stack::global_varval(), m_call_stack, and name.
Referenced by octave::interpreter::global_varval(), octave::stack_frame::install_variable(), octave::script_stack_frame::varval(), octave::user_fcn_stack_frame::varval(), and octave::scope_stack_frame::varval().
void octave::tree_evaluator::goto_base_frame | ( | void | ) |
Definition at line 1927 of file pt-eval.cc.
References octave::call_stack::goto_base_frame(), and m_call_stack.
Referenced by mexGetVariable(), and mexPutVariable().
void octave::tree_evaluator::goto_caller_frame | ( | void | ) |
Definition at line 1922 of file pt-eval.cc.
References octave::call_stack::goto_caller_frame(), and m_call_stack.
bool octave::tree_evaluator::goto_frame | ( | size_t | n = 0 , |
bool | verbose = false |
||
) |
Definition at line 1917 of file pt-eval.cc.
References octave::call_stack::goto_frame(), m_call_stack, and n.
Referenced by octave::debugger::repl().
Matrix octave::tree_evaluator::ignored_fcn_outputs | ( | void | ) | const |
Definition at line 853 of file pt-eval.cc.
References m_lvalue_list, Array< T >::resize(), and retval.
Referenced by execute_user_function().
bool octave::tree_evaluator::in_debug_repl | ( | void | ) | const |
Definition at line 4076 of file pt-eval.cc.
References m_debugger_stack.
Referenced by Fdbcont(), Fdbquit(), Fdbstep(), Fisdebugmode(), octave::bp_table::parse_dbfunction_params(), octave::file_editor::request_run_file(), reset_debug_state(), octave::file_editor_tab::save_file(), visit_if_command_list(), visit_return_command(), and visit_statement().
bool octave::tree_evaluator::in_user_code | ( | void | ) | const |
Definition at line 2353 of file pt-eval.cc.
References octave::call_stack::current_user_code(), and m_call_stack.
Referenced by visit_statement(), and octave::error_system::vwarning().
|
inline |
Definition at line 638 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
|
inline |
Definition at line 667 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
inline |
Definition at line 662 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
|
inline |
Definition at line 628 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
void octave::tree_evaluator::install_variable | ( | const std::string & | name, |
const octave_value & | value, | ||
bool | global | ||
) |
Definition at line 1347 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
Referenced by octave::interpreter::install_variable().
bool octave::tree_evaluator::is_class_constructor_executing | ( | std::string & | dispatch_class | ) | const |
Definition at line 1954 of file pt-eval.cc.
References octave::call_stack::is_class_constructor_executing(), and m_call_stack.
bool octave::tree_evaluator::is_class_method_executing | ( | std::string & | dispatch_class | ) | const |
Definition at line 1948 of file pt-eval.cc.
References octave::call_stack::is_class_method_executing(), and m_call_stack.
bool octave::tree_evaluator::is_defined | ( | const symbol_record & | sym | ) | const |
Definition at line 1313 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
bool octave::tree_evaluator::is_defined | ( | const tree_expression * | expr | ) | const |
Definition at line 1290 of file pt-eval.cc.
References octave::tree_expression::is_identifier(), and octave::tree_identifier::symbol().
Referenced by convert_return_list_to_const_vector(), define_parameter_list_from_arg_vector(), and make_fcn_handle().
bool octave::tree_evaluator::is_global | ( | const std::string & | name | ) | const |
Definition at line 1321 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
Referenced by octave::interpreter::isglobal().
bool octave::tree_evaluator::is_local_variable | ( | const std::string & | name | ) | const |
Definition at line 1264 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
Referenced by octave::interpreter::is_local_variable().
|
private |
Definition at line 3615 of file pt-eval.cc.
References error(), octave::tree_expression::evaluate(), octave_value::is_defined(), and octave_value::is_true().
Referenced by visit_do_until_command(), visit_if_command_list(), and visit_while_command().
bool octave::tree_evaluator::is_variable | ( | const std::string & | name | ) | const |
Definition at line 1255 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
Referenced by eval_string(), octave::tree_index_expression::evaluate_n(), final_index_error(), octave::interpreter::is_variable(), is_variable(), and visit_statement().
bool octave::tree_evaluator::is_variable | ( | const symbol_record & | sym | ) | const |
Definition at line 1304 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
bool octave::tree_evaluator::is_variable | ( | const tree_expression * | expr | ) | const |
Definition at line 1273 of file pt-eval.cc.
References octave::tree_identifier::is_black_hole(), octave::tree_expression::is_identifier(), is_variable(), and octave::tree_identifier::symbol().
void octave::tree_evaluator::keyboard | ( | const std::string & | prompt = "keyboard> " | ) |
Definition at line 841 of file pt-eval.cc.
References enter_debugger().
std::string octave::tree_evaluator::lookup_autoload | ( | const std::string & | nm | ) | const |
Definition at line 3684 of file pt-eval.cc.
References octave::load_path::find_file(), octave::interpreter::get_load_path(), m_autoload_map, m_interpreter, and retval.
Referenced by octave::fcn_info::fcn_info_rep::find_autoload(), octave::out_of_date_check(), and symbol_exist().
|
inline |
Definition at line 673 of file pt-eval.h.
Referenced by octave::tree_cell::evaluate(), octave::tree_simple_assignment::evaluate(), octave::tree_multi_assignment::evaluate_n(), octave::tree_index_expression::evaluate_n(), mexCallMATLAB(), and octave_classdef::xnumel().
octave_value octave::tree_evaluator::make_fcn_handle | ( | const std::string & | nm | ) |
Definition at line 1011 of file pt-eval.cc.
References octave_classdef::class_name(), octave_classdef::classdef_object_value(), current_function(), octave_function::dispatch_class(), octave::symbol_table::find_method(), octave::cdef_class::find_method(), octave::symbol_table::find_scoped_function(), octave::symbol_table::find_user_function(), octave_value::function_value(), octave::cdef_object::get_class(), get_current_scope(), octave::call_stack::get_current_stack_frame(), octave::cdef_method::get_function(), octave_classdef::get_object(), octave::get_operator_function_name(), octave::interpreter::get_symbol_table(), octave_function::is_class_constructor(), octave_function::is_class_method(), is_defined(), octave_value::is_defined(), octave_function::is_nested_function(), octave_function::is_private_function(), octave::cdef_method::is_static(), octave_function::is_subfunction(), m_call_stack, m_interpreter, name, octave_value(), octave::cdef_object::ok(), octave_function::parent_fcn_names(), retval, and varval().
Referenced by octave::tree_fcn_handle::evaluate(), Fstr2func(), octave::make_fcn_handle(), octave::interpreter::make_function_handle(), and read_mat5_binary_element().
std::list< octave_lvalue > octave::tree_evaluator::make_lvalue_list | ( | tree_argument_list * | lhs | ) |
Definition at line 3861 of file pt-eval.cc.
References retval.
Referenced by octave::tree_multi_assignment::evaluate_n().
octave_value_list octave::tree_evaluator::make_value_list | ( | tree_argument_list * | args, |
const string_vector & | arg_nm | ||
) |
Definition at line 3806 of file pt-eval.cc.
References octave_value::is_cs_list(), octave_value::is_defined(), len, octave_value_list::length(), octave::base_list< elt_type >::length(), octave_value::list_value(), m_index_position, m_lvalue_list, m_num_indices, n, and retval.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
octave_value octave::tree_evaluator::max_recursion_depth | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3631 of file pt-eval.cc.
References m_max_recursion_depth, and set_internal_variable().
|
inline |
|
inline |
Definition at line 540 of file pt-eval.h.
Referenced by Fmax_recursion_depth(), and source_file().
octave_value octave::tree_evaluator::max_stack_depth | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 2093 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::max_stack_depth().
Referenced by Fmax_stack_depth().
|
private |
Definition at line 3929 of file pt-eval.cc.
References octave::call_stack::curr_fcn_unwind_protect_frame(), m_call_stack, and push_echo_state_cleanup().
Referenced by echo().
|
private |
Definition at line 3904 of file pt-eval.cc.
References caller_function(), octave::call_stack::current_line(), ECHO_FUNCTIONS, ECHO_SCRIPTS, octave_user_code::fcn_file_name(), octave_base_value::is_user_code(), octave_base_value::is_user_function(), m_call_stack, and set_echo_state().
Referenced by echo().
std::string octave::tree_evaluator::mfilename | ( | const std::string & | opt = "" | ) | const |
Definition at line 432 of file pt-eval.cc.
References octave::call_stack::current_user_code(), octave::sys::file_ops::dir_sep_char(), octave_user_code::fcn_file_name(), m_call_stack, and octave_function::name().
Referenced by octave::interpreter::mfilename().
bool octave::tree_evaluator::mislocked | ( | bool | skip_first = false | ) | const |
Definition at line 2082 of file pt-eval.cc.
References octave::call_stack::current_function(), error(), octave_function::islocked(), and m_call_stack.
Referenced by octave::interpreter::mislocked().
void octave::tree_evaluator::mlock | ( | bool | skip_first = false | ) | const |
Definition at line 2050 of file pt-eval.cc.
References octave::call_stack::current_function(), error(), octave_base_value::is_builtin_function(), octave_function::lock(), m_call_stack, and warning().
Referenced by octave::interpreter::mlock().
void octave::tree_evaluator::munlock | ( | bool | skip_first = false | ) | const |
Definition at line 2066 of file pt-eval.cc.
References octave::call_stack::current_function(), error(), octave_base_value::is_builtin_function(), m_call_stack, octave_function::unlock(), and warning().
Referenced by octave::interpreter::munlock().
|
inline |
Definition at line 669 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
delete |
void octave::tree_evaluator::pop_scope | ( | void | ) |
Definition at line 2035 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::pop().
Referenced by octave::anonymous_fcn_handle::load_ascii(), octave::anonymous_fcn_handle::load_binary(), octave::anonymous_fcn_handle::load_hdf5(), octave::cdef_class::make_meta_class(), octave::anonymous_fcn_handle::parse(), and read_mat5_binary_element().
void octave::tree_evaluator::pop_stack_frame | ( | void | ) |
Definition at line 1860 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::pop().
Referenced by octave::nested_fcn_handle::call(), octave::anonymous_fcn_handle::call(), octave_function::call(), octave_user_script::call(), and octave_user_function::call().
octave_value octave::tree_evaluator::PS4 | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4221 of file pt-eval.cc.
References m_PS4, and set_internal_variable().
Referenced by FPS4(), and octave::interpreter::maximum_braindamage().
|
inline |
|
inline |
void octave::tree_evaluator::push_dummy_scope | ( | const std::string & | name | ) |
Definition at line 2028 of file pt-eval.cc.
References m_call_stack, name, and octave::call_stack::push().
Referenced by octave::anonymous_fcn_handle::load_ascii(), octave::anonymous_fcn_handle::load_binary(), octave::anonymous_fcn_handle::load_hdf5(), octave::cdef_class::make_meta_class(), octave::anonymous_fcn_handle::parse(), and read_mat5_binary_element().
void octave::tree_evaluator::push_echo_state | ( | int | type, |
const std::string & | file_name, | ||
size_t | pos = 1 |
||
) |
Definition at line 3872 of file pt-eval.cc.
References octave::call_stack::curr_fcn_unwind_protect_frame(), m_call_stack, push_echo_state_cleanup(), and set_echo_state().
Referenced by execute_user_function(), and execute_user_script().
|
private |
Definition at line 3923 of file pt-eval.cc.
References octave::action_container::add_method(), m_echo_file_name, m_echo_file_pos, m_echo_state, and uwp_set_echo_state().
Referenced by maybe_push_echo_state_cleanup(), and push_echo_state().
void octave::tree_evaluator::push_stack_frame | ( | const symbol_scope & | scope | ) |
Definition at line 1833 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::push().
Referenced by octave::nested_fcn_handle::call(), octave::anonymous_fcn_handle::call(), octave_function::call(), octave_user_script::call(), and octave_user_function::call().
void octave::tree_evaluator::push_stack_frame | ( | octave_function * | fcn | ) |
Definition at line 1855 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::push().
void octave::tree_evaluator::push_stack_frame | ( | octave_user_function * | fcn, |
const stack_frame::local_vars_map & | local_vars | ||
) |
Definition at line 1844 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::push().
void octave::tree_evaluator::push_stack_frame | ( | octave_user_function * | fcn, |
const std::shared_ptr< stack_frame > & | closure_frames = std::shared_ptr<stack_frame> () |
||
) |
Definition at line 1838 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::push().
void octave::tree_evaluator::push_stack_frame | ( | octave_user_script * | script | ) |
Definition at line 1850 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::push().
|
inline |
|
inline |
Definition at line 589 of file pt-eval.h.
Referenced by F__db_next_breakpoint_quiet__(), and octave::debugger::repl().
|
private |
Definition at line 4280 of file pt-eval.cc.
References m_breaking, m_continuing, and m_returning.
Referenced by visit_complex_for_command(), visit_do_until_command(), visit_simple_for_command(), and visit_while_command().
symbol_info_list octave::tree_evaluator::regexp_symbol_info | ( | const std::string & | pattern | ) | const |
Definition at line 3645 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::regexp_symbol_info().
void octave::tree_evaluator::remove_autoload | ( | const std::string & | fcn, |
const std::string & | nm | ||
) |
Definition at line 3730 of file pt-eval.cc.
References check_autoload_file(), octave::symbol_table::clear_dld_function(), octave::interpreter::get_symbol_table(), m_autoload_map, and m_interpreter.
Referenced by Fautoload().
void octave::tree_evaluator::reset_debug_state | ( | bool | mode | ) |
Definition at line 785 of file pt-eval.cc.
References m_debug_mode.
void octave::tree_evaluator::reset_debug_state | ( | void | ) |
Definition at line 778 of file pt-eval.cc.
References octave::bp_table::have_breakpoints(), in_debug_repl(), m_bp_table, m_dbstep_flag, and m_debug_mode.
Referenced by octave::bp_table::add_breakpoint(), Fdbclear(), Fdbstep(), Fdbstop(), octave::interpreter::main_loop(), octave::bp_table::remove_all_breakpoints(), octave::bp_table::remove_all_breakpoints_in_file(), and octave::bp_table::remove_breakpoint().
void octave::tree_evaluator::restore_frame | ( | size_t | n | ) |
Definition at line 1932 of file pt-eval.cc.
References m_call_stack, n, and octave::call_stack::restore_frame().
Referenced by mexGetVariable(), mexPutVariable(), and octave::debugger::repl().
|
inline |
|
inline |
Definition at line 701 of file pt-eval.h.
Referenced by eval_string().
std::list< std::string > octave::tree_evaluator::reverse_lookup_autoload | ( | const std::string & | nm | ) | const |
Definition at line 3711 of file pt-eval.cc.
References m_autoload_map.
void octave::tree_evaluator::set_auto_fcn_var | ( | stack_frame::auto_var_type | avt, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 1587 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::set_auto_fcn_var().
Referenced by bind_auto_fcn_vars(), Fwarning(), and octave::interpreter::intern_nargin().
|
inline |
void octave::tree_evaluator::set_dispatch_class | ( | const std::string & | class_name | ) |
Definition at line 1942 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::set_dispatch_class().
Referenced by octave::class_simple_fcn_handle::call().
|
private |
Definition at line 3886 of file pt-eval.cc.
References echo_this_file(), m_echo_file_name, m_echo_file_pos, and m_echo_state.
Referenced by maybe_set_echo_state(), and push_echo_state().
|
inline |
Definition at line 643 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
|
inline |
Definition at line 633 of file pt-eval.h.
Referenced by octave::tree_index_expression::evaluate_n(), and octave::tree_index_expression::lvalue().
|
inline |
Definition at line 678 of file pt-eval.h.
Referenced by octave::tree_cell::evaluate(), octave::tree_simple_assignment::evaluate(), octave::tree_multi_assignment::evaluate_n(), octave::tree_index_expression::evaluate_n(), mexCallMATLAB(), and octave_classdef::xnumel().
|
inline |
octave_value octave::tree_evaluator::silent_functions | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3751 of file pt-eval.cc.
References m_silent_functions, and set_internal_variable().
|
inline |
Definition at line 552 of file pt-eval.h.
Referenced by Fsilent_functions().
void octave::tree_evaluator::source_file | ( | const std::string & | file_name, |
const std::string & | context = "" , |
||
bool | verbose = false , |
||
bool | require_file = true |
||
) |
Definition at line 1435 of file pt-eval.cc.
References octave::action_container::add_method(), octave_function::call(), octave::sys::canonicalize_file_name(), octave::context, octave::call_stack::current_frame(), octave::sys::file_ops::dir_sep_chars(), octave::sys::file_ops::dir_sep_str(), error(), octave_user_code::fcn_file_name(), octave::symbol_table::fcn_table_find(), octave::interpreter::get_symbol_table(), octave::call_stack::goto_base_frame(), octave::call_stack::goto_caller_frame(), octave_value::is_undefined(), octave_value::is_user_code(), m_call_stack, m_interpreter, octave::sys::env::make_absolute(), max_recursion_depth(), octave_stdout, octave_value(), octave::parse_fcn_file(), octave::action_container::protect_var(), octave::call_stack::restore_frame(), octave::sys::file_ops::tilde_expand(), and octave_value::user_code_value().
Referenced by octave::interpreter::source_file().
bool octave::tree_evaluator::statement_printing_enabled | ( | void | ) |
Definition at line 771 of file pt-eval.cc.
References m_silent_functions, m_statement_context, SC_FUNCTION, and SC_SCRIPT.
Referenced by octave::tree_simple_assignment::evaluate(), octave::tree_multi_assignment::evaluate_n(), octave::tree_identifier::evaluate_n(), and visit_statement().
|
inline |
octave_value octave::tree_evaluator::string_fill_char | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3758 of file pt-eval.cc.
References m_string_fill_char, and set_internal_variable().
|
inline |
Definition at line 598 of file pt-eval.h.
Referenced by octave::tree_matrix::evaluate(), and Fstring_fill_char().
bool octave::tree_evaluator::switch_case_label_matches | ( | tree_switch_case * | expr, |
const octave_value & | val | ||
) |
Definition at line 1802 of file pt-eval.cc.
References octave::tree_switch_case::case_label(), octave_value::cell_value(), Array< T >::columns(), octave::tree_expression::evaluate(), octave_value::is_defined(), octave_value::is_equal(), octave_value::iscell(), and Array< T >::rows().
Referenced by visit_switch_command().
void octave::tree_evaluator::top_level_assign | ( | const std::string & | name, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 1383 of file pt-eval.cc.
References m_call_stack, name, and octave::call_stack::set_top_level_value().
Referenced by octave::interpreter::top_level_assign().
std::list< std::string > octave::tree_evaluator::top_level_variable_names | ( | void | ) | const |
Definition at line 2238 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::top_level_variable_names().
Referenced by octave::interpreter::top_level_variable_names().
octave_value octave::tree_evaluator::top_level_varval | ( | const std::string & | name | ) | const |
Definition at line 1377 of file pt-eval.cc.
References octave::call_stack::get_top_level_value(), m_call_stack, and name.
Referenced by octave::interpreter::top_level_varval().
symbol_info_list octave::tree_evaluator::top_scope_symbol_info | ( | void | ) | const |
Definition at line 3657 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::top_scope_symbol_info().
Referenced by octave::load_save_system::dump_octave_core().
void octave::tree_evaluator::undefine_parameter_list | ( | tree_parameter_list * | param_list | ) |
Definition at line 1627 of file pt-eval.cc.
References octave::octave_lvalue::assign(), and octave_value::op_asn_eq.
|
private |
Definition at line 3895 of file pt-eval.cc.
References m_echo_file_name, m_echo_file_pos, m_echo_state, and octave::state.
Referenced by push_echo_state_cleanup().
std::list< std::string > octave::tree_evaluator::variable_names | ( | void | ) | const |
Definition at line 2243 of file pt-eval.cc.
References m_call_stack, and octave::call_stack::variable_names().
Referenced by octave::interpreter::variable_names().
octave_value octave::tree_evaluator::varval | ( | const std::string & | name | ) | const |
Definition at line 1339 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), m_call_stack, and name.
octave_value octave::tree_evaluator::varval | ( | const symbol_record & | sym | ) | const |
Definition at line 1330 of file pt-eval.cc.
References octave::call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by octave::tree_identifier::evaluate_n(), octave_classdef_superclass_ref::execute(), execute_user_function(), make_fcn_handle(), and octave::interpreter::varval().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 699 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 705 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 711 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 717 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 729 of file pt-eval.cc.
References do_breakpoint(), echo_code(), error(), octave::tree::is_active_breakpoint(), octave::tree::line(), m_breaking, m_debug_mode, m_echo_file_pos, m_echo_state, and m_in_loop_command.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2906 of file pt-eval.cc.
References panic_impossible.
|
virtualinherited |
Definition at line 606 of file pt-walk.cc.
Referenced by octave::tree_classdef::accept().
|
virtualinherited |
Definition at line 526 of file pt-walk.cc.
Referenced by octave::tree_classdef_attribute::accept().
|
virtualinherited |
Definition at line 531 of file pt-walk.cc.
Referenced by octave::tree_classdef_attribute_list::accept().
|
virtualinherited |
Definition at line 601 of file pt-walk.cc.
Referenced by octave::tree_classdef_body::accept().
|
virtualinherited |
Definition at line 586 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum::accept().
|
virtualinherited |
Definition at line 596 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum_block::accept().
|
virtualinherited |
Definition at line 591 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum_list::accept().
|
virtualinherited |
Definition at line 571 of file pt-walk.cc.
Referenced by octave::tree_classdef_event::accept().
|
virtualinherited |
Definition at line 581 of file pt-walk.cc.
Referenced by octave::tree_classdef_events_block::accept().
|
virtualinherited |
Definition at line 576 of file pt-walk.cc.
Referenced by octave::tree_classdef_events_list::accept().
|
virtualinherited |
Definition at line 566 of file pt-walk.cc.
Referenced by octave::tree_classdef_methods_block::accept().
|
virtualinherited |
Definition at line 561 of file pt-walk.cc.
Referenced by octave::tree_classdef_methods_list::accept().
|
virtualinherited |
Definition at line 556 of file pt-walk.cc.
Referenced by octave::tree_classdef_properties_block::accept().
|
virtualinherited |
Definition at line 546 of file pt-walk.cc.
Referenced by octave::tree_classdef_property::accept().
|
virtualinherited |
Definition at line 551 of file pt-walk.cc.
Referenced by octave::tree_classdef_property_list::accept().
|
virtualinherited |
Definition at line 536 of file pt-walk.cc.
Referenced by octave::tree_classdef_superclass::accept().
|
virtualinherited |
Definition at line 541 of file pt-walk.cc.
Referenced by octave::tree_classdef_superclass_list::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 748 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2547 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::octave_lvalue::assign(), octave::base_list< elt_type >::begin(), octave::tree_complex_for_command::body(), octave_map::contents(), octave::tree_complex_for_command::control_expr(), do_breakpoint(), echo_code(), error(), octave::tree_expression::evaluate(), octave::tree::is_active_breakpoint(), octave_value::is_undefined(), octave_value::isstruct(), octave_map::keys(), octave::tree_complex_for_command::left_hand_side(), octave::tree::line(), octave::tree_expression::lvalue(), m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, octave_value::map_value(), n, Array< T >::numel(), string_vector::numel(), octave_value(), octave_value::op_asn_eq, and quit_loop_now().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 723 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2932 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 754 of file pt-eval.cc.
References do_breakpoint(), echo_code(), octave::tree::is_active_breakpoint(), octave::tree::line(), m_continuing, m_debug_mode, m_echo_file_pos, m_echo_state, and m_in_loop_command.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2359 of file pt-eval.cc.
References octave::tree_decl_init_list::accept(), do_breakpoint(), echo_code(), octave::tree_decl_command::initializer_list(), octave::tree::is_active_breakpoint(), octave::tree::line(), m_debug_mode, m_echo_file_pos, and m_echo_state.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2381 of file pt-eval.cc.
References octave::octave_lvalue::assign(), error(), octave::tree_expression::evaluate(), octave::tree_decl_elt::expression(), octave::tree_decl_elt::ident(), octave::tree_decl_elt::is_global(), octave::tree_decl_elt::is_persistent(), octave::octave_lvalue::is_undefined(), m_call_stack, octave::call_stack::make_global(), octave::call_stack::make_persistent(), octave_value::op_asn_eq, and octave::tree_identifier::symbol().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 124 of file pt-walk.cc.
Referenced by octave::tree_decl_init_list::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3452 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::tree_while_command::body(), octave::tree::column(), octave::tree_while_command::condition(), do_breakpoint(), echo_code(), octave::tree_jit::execute(), octave::tree::is_active_breakpoint(), is_logically_true(), octave::tree::line(), m_call_stack, m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, panic_impossible, quit_loop_now(), and octave::call_stack::set_location().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2938 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2815 of file pt-eval.cc.
References assign(), octave::f(), octave::tree_function_def::function(), octave_value::function_value(), octave::interpreter::get_symbol_table(), octave::symbol_table::install_cmdline_function(), and m_interpreter.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2837 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2843 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2849 of file pt-eval.cc.
References octave::tree_if_command_list::accept(), octave::tree_if_command::cmd_list(), echo_code(), octave::tree::line(), m_echo_file_pos, and m_echo_state.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2868 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::call_stack::current_frame(), do_breakpoint(), in_debug_repl(), is_logically_true(), m_call_stack, m_debug_frame, m_debug_mode, and octave::call_stack::set_location().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2894 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2900 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3506 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2912 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2918 of file pt-eval.cc.
References do_breakpoint(), echo_code(), octave::tree::is_active_breakpoint(), octave::tree_no_op_command::is_end_of_fcn_or_script(), octave::tree::line(), m_debug_mode, m_echo_file_pos, and m_echo_state.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2666 of file pt-eval.cc.
References panic_impossible.
void octave::tree_evaluator::visit_octave_user_function_header | ( | octave_user_function & | ) |
Definition at line 2803 of file pt-eval.cc.
References panic_impossible.
void octave::tree_evaluator::visit_octave_user_function_trailer | ( | octave_user_function & | ) |
Definition at line 2809 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2621 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2944 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2950 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2956 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2962 of file pt-eval.cc.
References octave::call_stack::current_frame(), dbcont(), do_breakpoint(), echo_code(), in_debug_repl(), octave::tree::is_active_breakpoint(), octave::tree::line(), m_call_stack, m_debug_frame, m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, m_returning, m_statement_context, SC_FUNCTION, and SC_SCRIPT.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2985 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2413 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::octave_lvalue::assign(), octave::tree_simple_for_command::body(), octave::tree::column(), octave::tree_simple_for_command::control_expr(), octave_value::dims(), do_breakpoint(), octave_value::do_index_op(), echo_code(), Range::elem(), error(), octave::tree_expression::evaluate(), octave::tree_jit::execute(), octave::tree::is_active_breakpoint(), octave_value::is_matrix_type(), octave_value::is_range(), octave_value::is_scalar_type(), octave_value::is_string(), octave_value::is_undefined(), octave_value::iscell(), octave_value::isstruct(), octave::tree_simple_for_command::left_hand_side(), octave::tree::line(), octave::tree_expression::lvalue(), m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, octave_value::magic_colon_t, octave_value::ndims(), Range::numel(), octave_value::op_asn_eq, quit_loop_now(), octave_value::range_value(), dim_vector::redim(), octave_value::reshape(), and octave_value_list::resize().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 2991 of file pt-eval.cc.
References octave::tree::accept(), bind_ans(), octave::tree_statement::column(), octave::tree_statement::command(), octave::call_stack::current_frame(), octave::error_system::debug_on_caught(), octave::bp_table::debug_on_caught(), octave::bp_table::debug_on_err(), octave::error_system::debug_on_error(), octave::error_system::display_exception(), do_breakpoint(), echo_code(), enter_debugger(), error_with_id(), octave::tree_expression::evaluate(), octave::tree_statement::expression(), octave::application::forced_interactive(), octave::interpreter::get_error_system(), in_debug_repl(), in_user_code(), octave::interpreter::interactive(), octave::tree::is_active_breakpoint(), octave::tree_expression::is_assignment_expression(), octave_value::is_defined(), octave::tree_expression::is_identifier(), is_variable(), octave::error_system::last_error_id(), octave::tree_statement::line(), m_bp_table, m_call_stack, m_debug_frame, m_debug_mode, m_echo_file_pos, m_echo_state, m_interpreter, m_lvalue_list, octave::tree_expression::print_result(), octave::interpreter::recover_from_exception(), octave::error_system::save_exception(), octave::call_stack::set_location(), and statement_printing_enabled().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3099 of file pt-eval.cc.
References octave::tree_statement::accept(), octave::base_list< elt_type >::begin(), octave::base_list< elt_type >::end(), error(), m_breaking, m_continuing, and m_returning.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3500 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3149 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3155 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3161 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::tree_switch_command::case_list(), octave::tree::column(), do_breakpoint(), echo_code(), error(), octave::tree_expression::evaluate(), octave::tree::is_active_breakpoint(), octave::tree::line(), m_debug_mode, m_echo_file_pos, m_echo_state, switch_case_label_matches(), and octave::tree_switch_command::switch_value().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3201 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave_scalar_map::assign(), octave::octave_lvalue::assign(), octave::tree_try_catch_command::body(), octave::tree_try_catch_command::cleanup(), echo_code(), octave::interpreter::get_error_system(), octave::tree_try_catch_command::identifier(), interpreter_try(), octave::error_system::last_error_id(), octave::error_system::last_error_message(), octave::error_system::last_error_stack(), octave::tree::line(), octave::tree_identifier::lvalue(), m_echo_file_pos, m_echo_state, m_interpreter, octave_value::op_asn_eq, octave::interpreter::recover_from_exception(), and octave::error_system::save_exception().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3353 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::tree_unwind_protect_command::body(), octave::tree_unwind_protect_command::cleanup(), do_unwind_protect_cleanup_code(), echo_code(), octave::interpreter::get_error_system(), octave::tree::line(), m_echo_file_pos, m_echo_state, m_interpreter, octave::interpreter::recover_from_exception(), and octave::error_system::save_exception().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 3406 of file pt-eval.cc.
References octave::tree_statement_list::accept(), octave::tree_while_command::body(), octave::tree_while_command::condition(), do_breakpoint(), echo_code(), octave::tree_jit::execute(), octave::tree::is_active_breakpoint(), is_logically_true(), octave::tree::line(), m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, panic_impossible, and quit_loop_now().
octave_value octave::tree_evaluator::whos_line_format | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3744 of file pt-eval.cc.
References m_whos_line_format, and set_internal_variable().
Referenced by octave::call_stack::do_global_who_two(), octave::call_stack::do_who_two(), and Fwhos_line_format().
|
inline |
|
inline |
|
private |
Definition at line 790 of file pt-eval.h.
Referenced by add_autoload(), autoloaded_functions(), get_autoload_map(), lookup_autoload(), remove_autoload(), and reverse_lookup_autoload().
|
private |
Definition at line 792 of file pt-eval.h.
Referenced by reset_debug_state(), and visit_statement().
|
private |
Definition at line 858 of file pt-eval.h.
Referenced by do_unwind_protect_cleanup_code(), eval(), execute_user_function(), execute_user_script(), quit_loop_now(), visit_break_command(), and visit_statement_list().
|
private |
Definition at line 794 of file pt-eval.h.
Referenced by assign(), assignin(), at_top_level(), backtrace(), backtrace_frames(), backtrace_info(), caller_function(), check_autoload_file(), clear_global_variable(), clear_global_variable_pattern(), clear_global_variable_regexp(), clear_global_variables(), clear_objects(), clear_variable(), clear_variable_pattern(), clear_variable_regexp(), clear_variables(), curr_fcn_unwind_protect_frame(), current_column(), current_function(), current_function_name(), current_line(), current_user_code(), dbupdown(), debug_user_code(), debug_user_code_column(), debug_user_code_line(), debug_where(), display_call_stack(), do_breakpoint(), do_unwind_protect_cleanup_code(), do_who(), echo_code(), empty_backtrace(), enter_debugger(), evalin(), evaluate_end_expression(), execute_user_function(), execute_user_script(), find(), get_auto_fcn_var(), get_current_scope(), get_dispatch_class(), get_symbol_info(), get_top_scope(), get_user_code(), glob_symbol_info(), global_assign(), global_variable_names(), global_varref(), global_varval(), goto_base_frame(), goto_caller_frame(), goto_frame(), in_user_code(), install_variable(), is_class_constructor_executing(), is_class_method_executing(), is_defined(), is_global(), is_local_variable(), is_variable(), make_fcn_handle(), max_stack_depth(), maybe_push_echo_state_cleanup(), maybe_set_echo_state(), mfilename(), mislocked(), mlock(), munlock(), pop_scope(), pop_stack_frame(), push_dummy_scope(), push_echo_state(), push_stack_frame(), regexp_symbol_info(), restore_frame(), set_auto_fcn_var(), set_dispatch_class(), source_file(), top_level_assign(), top_level_variable_names(), top_level_varval(), top_scope_symbol_info(), variable_names(), varval(), visit_decl_elt(), visit_do_until_command(), visit_if_command_list(), visit_return_command(), and visit_statement().
|
private |
Definition at line 861 of file pt-eval.h.
Referenced by quit_loop_now(), visit_continue_command(), and visit_statement_list().
|
private |
Definition at line 833 of file pt-eval.h.
Referenced by do_breakpoint(), and reset_debug_state().
|
private |
Definition at line 799 of file pt-eval.h.
Referenced by dbupdown(), do_breakpoint(), enter_debugger(), visit_if_command_list(), visit_return_command(), and visit_statement().
|
private |
Definition at line 801 of file pt-eval.h.
Referenced by reset_debug_state(), visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command_list(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_command(), and visit_while_command().
|
private |
Definition at line 810 of file pt-eval.h.
Referenced by dbcont(), dbquit(), enter_debugger(), and in_debug_repl().
|
private |
Definition at line 841 of file pt-eval.h.
Referenced by echo(), and echo_this_file().
|
private |
Definition at line 847 of file pt-eval.h.
Referenced by push_echo_state_cleanup(), set_echo_state(), and uwp_set_echo_state().
|
private |
Definition at line 850 of file pt-eval.h.
Referenced by echo_code(), push_echo_state_cleanup(), set_echo_state(), uwp_set_echo_state(), visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_command(), visit_try_catch_command(), visit_unwind_protect_command(), and visit_while_command().
|
private |
Definition at line 852 of file pt-eval.h.
Referenced by echo(), and echo_this_file().
|
private |
Definition at line 845 of file pt-eval.h.
Referenced by push_echo_state_cleanup(), set_echo_state(), uwp_set_echo_state(), visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_command(), visit_try_catch_command(), visit_unwind_protect_command(), and visit_while_command().
|
private |
Definition at line 855 of file pt-eval.h.
Referenced by visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_do_until_command(), visit_return_command(), visit_simple_for_command(), and visit_while_command().
|
private |
Definition at line 869 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
private |
Definition at line 871 of file pt-eval.h.
Referenced by evaluate_end_expression(), and make_value_list().
|
private |
Definition at line 870 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
private |
Definition at line 868 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
private |
Definition at line 782 of file pt-eval.h.
Referenced by clear_all(), clear_symbol(), clear_symbol_pattern(), clear_symbol_regexp(), do_unwind_protect_cleanup_code(), enter_debugger(), eval(), eval_string(), evalin(), evaluate_end_expression(), final_index_error(), find(), get_user_code(), lookup_autoload(), make_fcn_handle(), remove_autoload(), source_file(), visit_function_def(), visit_statement(), visit_try_catch_command(), and visit_unwind_protect_command().
|
private |
Definition at line 787 of file pt-eval.h.
Referenced by ignored_fcn_outputs(), make_value_list(), and visit_statement().
|
private |
Definition at line 814 of file pt-eval.h.
Referenced by execute_user_function(), execute_user_script(), and max_recursion_depth().
|
private |
Definition at line 872 of file pt-eval.h.
Referenced by evaluate_end_expression(), and make_value_list().
|
private |
Definition at line 796 of file pt-eval.h.
Referenced by execute_user_function(), and execute_user_script().
|
private |
Definition at line 827 of file pt-eval.h.
Referenced by echo_code(), and PS4().
|
private |
|
private |
Definition at line 864 of file pt-eval.h.
Referenced by do_unwind_protect_cleanup_code(), eval(), execute_user_function(), execute_user_script(), quit_loop_now(), visit_return_command(), and visit_statement_list().
|
private |
Definition at line 821 of file pt-eval.h.
Referenced by silent_functions(), and statement_printing_enabled().
|
private |
Definition at line 785 of file pt-eval.h.
Referenced by execute_user_function(), execute_user_script(), statement_printing_enabled(), and visit_return_command().
|
private |
Definition at line 824 of file pt-eval.h.
Referenced by string_fill_char().
|
private |
Definition at line 817 of file pt-eval.h.
Referenced by whos_line_format().