#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 (int line) |
bool | echo_this_file (const std::string &file, int type) const |
template<typename T > | |
void | execute_range_loop (const range< T > &rng, int line, octave_lvalue &ult, tree_statement_list *loop_body) |
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, int pos) |
void | uwp_set_echo_state (bool state, const std::string &file_name, int pos) |
typedef void(* tree_evaluator::decl_elt_init_fcn) (tree_decl_elt &) |
|
inline |
|
delete |
|
default |
void tree_evaluator::add_autoload | ( | const std::string & | fcn, |
const std::string & | nm | ||
) |
Definition at line 4642 of file pt-eval.cc.
References check_autoload_file(), and m_autoload_map.
Referenced by Fautoload().
|
inline |
Definition at line 678 of file pt-eval.h.
Referenced by interpreter::add_debug_watch_expression().
|
inline |
Definition at line 743 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
void tree_evaluator::assign | ( | const std::string & | name, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 2001 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by interpreter::assign(), assignin(), bind_ans(), bind_auto_fcn_vars(), and visit_function_def().
void tree_evaluator::assignin | ( | const std::string & | context, |
const std::string & | name, | ||
const octave_value & | val = octave_value () |
||
) |
Definition at line 2010 of file pt-eval.cc.
References assign(), call_stack::current_frame(), error(), call_stack::goto_base_frame(), call_stack::goto_caller_frame(), iskeyword(), m_call_stack, call_stack::restore_frame(), and valid_identifier().
Referenced by interpreter::assignin().
bool tree_evaluator::at_top_level | ( | void | ) | const |
Definition at line 534 of file pt-eval.cc.
References call_stack::at_top_level(), and m_call_stack.
Referenced by interpreter::at_top_level(), parse_and_execute(), repl(), and event_manager::set_workspace().
std::list< std::string > tree_evaluator::autoloaded_functions | ( | void | ) | const |
Definition at line 4620 of file pt-eval.cc.
References m_autoload_map.
Referenced by interpreter::autoloaded_functions().
octave_map tree_evaluator::backtrace | ( | octave_idx_type & | curr_user_frame, |
bool | print_subfn = true |
||
) | const |
Definition at line 2596 of file pt-eval.cc.
References call_stack::backtrace(), and m_call_stack.
Referenced by Flasterror().
octave_map tree_evaluator::backtrace | ( | void | ) | const |
Definition at line 2602 of file pt-eval.cc.
References call_stack::backtrace(), and m_call_stack.
std::list< std::shared_ptr< stack_frame > > tree_evaluator::backtrace_frames | ( | void | ) | const |
Definition at line 2578 of file pt-eval.cc.
References call_stack::backtrace_frames(), and m_call_stack.
std::list< std::shared_ptr< stack_frame > > tree_evaluator::backtrace_frames | ( | octave_idx_type & | curr_user_frame | ) | const |
Definition at line 2572 of file pt-eval.cc.
References call_stack::backtrace_frames(), and m_call_stack.
std::list< frame_info > tree_evaluator::backtrace_info | ( | octave_idx_type & | curr_user_frame, |
bool | print_subfn = true |
||
) | const |
Definition at line 2584 of file pt-eval.cc.
References call_stack::backtrace_info(), and m_call_stack.
Referenced by error_system::throw_error().
std::list< frame_info > tree_evaluator::backtrace_info | ( | void | ) | const |
Definition at line 2590 of file pt-eval.cc.
References call_stack::backtrace_info(), and m_call_stack.
Referenced by backtrace_message().
std::string tree_evaluator::backtrace_message | ( | void | ) | const |
Definition at line 2612 of file pt-eval.cc.
References backtrace_info().
Referenced by error_system::vwarning().
void tree_evaluator::bind_ans | ( | const octave_value & | val, |
bool | |||
) |
Definition at line 4417 of file pt-eval.cc.
References assign(), feval(), octave_value::is_cs_list(), octave_value::is_defined(), octave_value_list::length(), octave_value::list_value(), ovl(), octave_value_list::stash_name_tags(), and varval().
Referenced by eval_string(), and visit_statement().
|
private |
Definition at line 5224 of file pt-eval.cc.
References stack_frame::ARG_NAMES, assign(), octave_value_list::cell_value(), stack_frame::IGNORED, stack_frame::NARGIN, stack_frame::NARGOUT, stack_frame::SAVED_WARNING_STATES, and set_auto_fcn_var().
Referenced by execute_user_function().
|
inline |
|
inline |
Definition at line 808 of file pt-eval.h.
Referenced by interpreter::pause().
|
inline |
|
inline |
Definition at line 770 of file pt-eval.h.
Referenced by eval_string().
octave_function * tree_evaluator::caller_function | ( | void | ) | const |
Definition at line 2524 of file pt-eval.cc.
References call_stack::current_function(), and m_call_stack.
Referenced by Fclass(), Finferiorto(), Fsuperiorto(), and maybe_set_echo_state().
|
private |
Definition at line 5241 of file pt-eval.cc.
References absolute_pathname(), call_stack::current_user_code(), dir_sep_str(), octave_user_code::fcn_file_name(), m_call_stack, make_absolute(), and warning_with_id().
Referenced by add_autoload(), and remove_autoload().
void tree_evaluator::clear_all | ( | bool | force = false | ) |
Definition at line 2800 of file pt-eval.cc.
References symbol_table::clear_functions(), clear_global_variables(), clear_variables(), interpreter::get_symbol_table(), and m_interpreter.
Referenced by interpreter::clear_all().
|
inline |
Definition at line 692 of file pt-eval.h.
Referenced by interpreter::clear_debug_watch_expressions().
void tree_evaluator::clear_global_variable | ( | const std::string & | name | ) |
Definition at line 2779 of file pt-eval.cc.
References call_stack::clear_global_variable(), and m_call_stack.
Referenced by interpreter::clear_global_variable().
void tree_evaluator::clear_global_variable_pattern | ( | const std::string & | pattern | ) |
Definition at line 2785 of file pt-eval.cc.
References call_stack::clear_global_variable_pattern(), and m_call_stack.
Referenced by interpreter::clear_global_variable_pattern().
void tree_evaluator::clear_global_variable_regexp | ( | const std::string & | pattern | ) |
Definition at line 2790 of file pt-eval.cc.
References call_stack::clear_global_variable_regexp(), and m_call_stack.
Referenced by interpreter::clear_global_variable_regexp().
void tree_evaluator::clear_global_variables | ( | void | ) |
Definition at line 2795 of file pt-eval.cc.
References call_stack::clear_global_variables(), and m_call_stack.
Referenced by clear_all(), and interpreter::clear_global_variables().
|
inline |
Definition at line 737 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
void tree_evaluator::clear_objects | ( | void | ) |
Definition at line 2739 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by interpreter::clear_objects().
void tree_evaluator::clear_symbol | ( | const std::string & | name | ) |
Definition at line 2812 of file pt-eval.cc.
References symbol_table::clear_function(), clear_variable(), interpreter::get_symbol_table(), and m_interpreter.
Referenced by interpreter::clear_symbol().
void tree_evaluator::clear_symbol_pattern | ( | const std::string & | pattern | ) |
Definition at line 2823 of file pt-eval.cc.
References symbol_table::clear_function_pattern(), clear_variable_pattern(), interpreter::get_symbol_table(), and m_interpreter.
Referenced by interpreter::clear_symbol_pattern().
void tree_evaluator::clear_symbol_regexp | ( | const std::string & | pattern | ) |
Definition at line 2834 of file pt-eval.cc.
References symbol_table::clear_function_regexp(), clear_variable_regexp(), interpreter::get_symbol_table(), and m_interpreter.
Referenced by interpreter::clear_symbol_regexp().
void tree_evaluator::clear_variable | ( | const std::string & | name | ) |
Definition at line 2747 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_symbol(), and interpreter::clear_variable().
void tree_evaluator::clear_variable_pattern | ( | const std::string & | pattern | ) |
Definition at line 2755 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_symbol_pattern(), and interpreter::clear_variable_pattern().
void tree_evaluator::clear_variable_regexp | ( | const std::string & | pattern | ) |
Definition at line 2763 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_symbol_regexp(), and interpreter::clear_variable_regexp().
void tree_evaluator::clear_variables | ( | void | ) |
Definition at line 2771 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by clear_all(), and interpreter::clear_variables().
|
inline |
|
inline |
Definition at line 779 of file pt-eval.h.
Referenced by eval_string().
octave_value_list 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 2324 of file pt-eval.cc.
References evaluate(), is_defined(), len, base_list< elt_type >::length(), and Array< T, Alloc >::numel().
Referenced by execute_user_function().
octave_value_list tree_evaluator::convert_to_const_vector | ( | tree_argument_list * | arg_list | ) |
Definition at line 2296 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 tree_cell::evaluate(), and tree_index_expression::evaluate_n().
unwind_protect * tree_evaluator::curr_fcn_unwind_protect_frame | ( | void | ) |
Definition at line 2509 of file pt-eval.cc.
References call_stack::curr_fcn_unwind_protect_frame(), and m_call_stack.
|
inline |
Definition at line 640 of file pt-eval.h.
Referenced by debugger::repl().
int tree_evaluator::current_column | ( | void | ) | const |
Definition at line 2482 of file pt-eval.cc.
References call_stack::current_column(), and m_call_stack.
octave_function * tree_evaluator::current_function | ( | bool | skip_first = false | ) | const |
Definition at line 2519 of file pt-eval.cc.
References call_stack::current_function(), and m_call_stack.
Referenced by get_class_context(), get_current_shlib(), is_method_executing(), make_fcn_handle(), and print_usage().
std::string tree_evaluator::current_function_name | ( | bool | skip_first = false | ) | const |
Definition at line 2954 of file pt-eval.cc.
References call_stack::current_function(), m_call_stack, and octave_function::name().
int tree_evaluator::current_line | ( | void | ) | const |
Definition at line 2477 of file pt-eval.cc.
References call_stack::current_line(), and m_call_stack.
Referenced by debugger::repl().
octave_user_code * tree_evaluator::current_user_code | ( | void | ) | const |
Definition at line 2504 of file pt-eval.cc.
References call_stack::current_user_code(), and m_call_stack.
Referenced by debugger::repl().
|
inline |
Definition at line 453 of file pt-eval.h.
Referenced by debugger::repl().
void tree_evaluator::dbcont | ( | void | ) |
Definition at line 5009 of file pt-eval.cc.
References m_debugger_stack.
Referenced by interpreter::resume(), and visit_return_command().
void tree_evaluator::dbquit | ( | bool | all = false | ) |
Definition at line 5015 of file pt-eval.cc.
References m_debugger_stack.
Referenced by file_editor_tab::confirm_dbquit_and_save(), and interpreter::stop().
|
inline |
Definition at line 797 of file pt-eval.h.
Referenced by parse_and_execute(), debugger::repl(), repl(), and debugger::server_loop().
void tree_evaluator::dbupdown | ( | int | n, |
bool | verbose = false |
||
) |
Definition at line 1434 of file pt-eval.cc.
References call_stack::dbupdown(), m_call_stack, m_debug_frame, and n.
|
inline |
|
inline |
Definition at line 631 of file pt-eval.h.
Referenced by debugger::repl().
octave_user_code * tree_evaluator::debug_user_code | ( | void | ) | const |
Definition at line 2514 of file pt-eval.cc.
References call_stack::debug_user_code(), and m_call_stack.
int tree_evaluator::debug_user_code_column | ( | void | ) | const |
Definition at line 2492 of file pt-eval.cc.
References call_stack::debug_user_code_column(), and m_call_stack.
int tree_evaluator::debug_user_code_line | ( | void | ) | const |
Definition at line 2487 of file pt-eval.cc.
References call_stack::debug_user_code_line(), and m_call_stack.
|
inline |
Definition at line 699 of file pt-eval.h.
Referenced by interpreter::debug_watch_expressions().
void tree_evaluator::debug_where | ( | std::ostream & | os | ) | const |
Definition at line 2497 of file pt-eval.cc.
References call_stack::current_user_frame(), and m_call_stack.
void tree_evaluator::define_parameter_list_from_arg_vector | ( | tree_parameter_list * | param_list, |
const octave_value_list & | args | ||
) |
Definition at line 2211 of file pt-eval.cc.
References octave_lvalue::define(), error(), eval_decl_elt(), is_defined(), octave_value_list::length(), and tree_parameter_list::varargs_only().
Referenced by execute_user_function().
void tree_evaluator::display_call_stack | ( | void | ) | const |
Definition at line 2710 of file pt-eval.cc.
References call_stack::display(), and m_call_stack.
|
private |
Definition at line 4459 of file pt-eval.cc.
References call_stack::current_frame(), enter_debugger(), m_break_on_next_stmt, m_call_stack, m_dbstep_flag, and m_debug_frame.
|
private |
Definition at line 4452 of file pt-eval.cc.
References tree_statement::is_active_breakpoint(), and 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 tree_evaluator::do_unwind_protect_cleanup_code | ( | tree_statement_list * | list | ) |
Definition at line 4184 of file pt-eval.cc.
References tree_statement_list::accept(), action_container::add(), call_stack::current_column(), call_stack::current_line(), action_container::discard(), interpreter::get_error_system(), m_breaking, m_call_stack, m_interpreter, m_returning, octave_interrupt_state, action_container::protect_var(), interpreter::recover_from_exception(), action_container::run(), error_system::save_exception(), call_stack::set_column(), and call_stack::set_line().
Referenced by visit_unwind_protect_command().
octave_value tree_evaluator::do_who | ( | int | argc, |
const string_vector & | argv, | ||
bool | return_list, | ||
bool | verbose = false |
||
) |
Definition at line 4719 of file pt-eval.cc.
References call_stack::do_who(), and m_call_stack.
octave_value tree_evaluator::echo | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4876 of file pt-eval.cc.
References ECHO_ALL, ECHO_FUNCTIONS, ECHO_OFF, ECHO_SCRIPTS, error(), fcn_file_in_path(), octave_value_list::length(), m_echo, m_echo_files, make_absolute(), octave_value_list::make_argv(), maybe_push_echo_state_cleanup(), maybe_set_echo_state(), octave_value(), and print_usage().
Referenced by interpreter::interpreter(), and Fecho().
|
inline |
Definition at line 827 of file pt-eval.h.
Referenced by execute_user_function(), and execute_user_script().
|
private |
Definition at line 5186 of file pt-eval.cc.
References call_stack::current_function(), 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 5153 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 tree_evaluator::empty_backtrace | ( | void | ) | const |
Definition at line 2607 of file pt-eval.cc.
References call_stack::empty_backtrace(), and m_call_stack.
Referenced by Flasterror(), and init_error_stack().
void tree_evaluator::enter_debugger | ( | const std::string & | prompt = "debug> " | ) |
Definition at line 1378 of file pt-eval.cc.
References action_container::add(), call_stack::current_frame(), call_stack::dbupdown(), error_system::debug_on_error(), error_system::debug_on_warning(), interpreter::get_error_system(), command_history::ignore_entries(), command_history::ignoring_entries(), m_call_stack, m_debug_frame, m_debugger_stack, m_interpreter, debugger::repl(), reset_debug_state(), call_stack::restore_frame(), error_system::set_debug_on_error(), and error_system::set_debug_on_warning().
Referenced by do_breakpoint(), keyboard(), visit_statement(), and error_system::vwarning().
octave_value_list tree_evaluator::eval | ( | const std::string & | try_code, |
const std::string & | catch_code, | ||
int | nargout | ||
) |
Definition at line 1115 of file pt-eval.cc.
References eval_string(), interpreter::get_error_system(), m_interpreter, interpreter::recover_from_exception(), and error_system::save_exception().
octave_value_list tree_evaluator::eval | ( | const std::string & | try_code, |
int | nargout | ||
) |
Definition at line 1107 of file pt-eval.cc.
References eval_string().
void tree_evaluator::eval | ( | std::shared_ptr< tree_statement_list > & | stmt_list, |
bool | interactive | ||
) |
Definition at line 980 of file pt-eval.cc.
References m_breaking, m_interpreter, m_returning, octave_completion_matches_called, and interpreter::recover_from_exception().
Referenced by interpreter::eval(), parse_and_execute(), and repl().
bool tree_evaluator::eval_decl_elt | ( | tree_decl_elt * | elt | ) |
Definition at line 2391 of file pt-eval.cc.
References octave_lvalue::assign(), tree_expression::evaluate(), tree_decl_elt::expression(), tree_decl_elt::ident(), and octave_value::op_asn_eq.
Referenced by define_parameter_list_from_arg_vector().
octave_value_list tree_evaluator::eval_string | ( | const octave_value & | arg, |
bool | silent, | ||
int & | parse_status, | ||
int | nargout | ||
) |
Definition at line 1098 of file pt-eval.cc.
References eval_string(), and octave_value::xstring_value().
octave_value tree_evaluator::eval_string | ( | const std::string & | eval_str, |
bool | silent, | ||
int & | parse_status | ||
) |
Definition at line 1085 of file pt-eval.cc.
References octave_value_list::empty(), and eval_string().
octave_value_list tree_evaluator::eval_string | ( | const std::string & | eval_str, |
bool | silent, | ||
int & | parse_status, | ||
int | nargout | ||
) |
Definition at line 1013 of file pt-eval.cc.
References base_parser::at_end_of_input(), bind_ans(), breaking(), continuing(), base_parser::disallow_command_syntax(), octave_value_list::empty(), error(), tree_expression::evaluate_n(), tree_statement::expression(), tree_expression::is_assignment_expression(), tree_statement::is_expression(), tree_expression::is_identifier(), is_variable(), m_interpreter, tree_expression::print_result(), base_parser::reset(), returning(), parser::run(), tree_expression::set_print_flag(), and base_parser::statement_list().
Referenced by eval(), eval_string(), interpreter::eval_string(), evalin(), and tree::meets_bp_condition().
octave_value_list tree_evaluator::evalin | ( | const std::string & | context, |
const std::string & | try_code, | ||
const std::string & | catch_code, | ||
int | nargout | ||
) |
Definition at line 1183 of file pt-eval.cc.
References call_stack::current_frame(), error(), eval_string(), interpreter::get_error_system(), call_stack::goto_base_frame(), call_stack::goto_caller_frame(), m_call_stack, m_interpreter, interpreter::recover_from_exception(), call_stack::restore_frame(), and error_system::save_exception().
octave_value_list tree_evaluator::evalin | ( | const std::string & | context, |
const std::string & | try_code, | ||
int | nargout | ||
) |
Definition at line 1162 of file pt-eval.cc.
References call_stack::current_frame(), error(), eval_string(), call_stack::goto_base_frame(), call_stack::goto_caller_frame(), m_call_stack, and call_stack::restore_frame().
Referenced by interpreter::evalin().
octave_value tree_evaluator::evaluate | ( | tree_decl_elt * | elt | ) |
Definition at line 1856 of file pt-eval.cc.
References tree_identifier::evaluate(), tree_decl_elt::ident(), octave_value(), and octave_value::storable_value().
Referenced by convert_return_list_to_const_vector(), and is_method_executing().
octave_value tree_evaluator::evaluate_anon_fcn_handle | ( | tree_anon_fcn_handle & | afh | ) |
Definition at line 3329 of file pt-eval.cc.
References symbol_scope::cache_dir_name(), symbol_scope::cache_fcn_file_name(), call_stack::current_function(), octave_function::dir_name(), octave_function::dispatch_class(), tree_parameter_list::dup(), tree_expression::dup(), symbol_scope::dup(), tree_anon_fcn_handle::expression(), octave_function::fcn_file_name(), tree_anon_scopes::free_variables(), get_current_scope(), call_stack::get_current_stack_frame(), octave_function::is_class_constructor(), octave_function::is_class_method(), octave_value::is_defined(), octave_function::is_nested_function(), octave_function::is_parent_function(), m_call_stack, octave_user_function::mark_as_anonymous_function(), octave_user_function::mark_as_nested_function(), symbol_scope::nesting_depth(), tree_anon_fcn_handle::parameter_list(), tree_anon_fcn_handle::scope(), symbol_scope::set_nesting_depth(), symbol_scope::set_parent(), symbol_scope::set_primary_parent(), octave_function::stash_dir_name(), octave_function::stash_dispatch_class(), and octave_user_code::stash_fcn_file_name().
Referenced by tree_anon_fcn_handle::evaluate().
octave_value_list tree_evaluator::evaluate_end_expression | ( | const octave_value_list & | args | ) |
Definition at line 5051 of file pt-eval.cc.
References octave_value::class_name(), call_stack::current_frame(), end_value(), err_indexed_cs_list(), error(), interpreter::feval(), call_stack::find_current_user_frame(), symbol_table::find_method(), interpreter::get_symbol_table(), 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(), call_stack::restore_frame(), and octave_value::subsref().
Referenced by Fend().
octave_value_list tree_evaluator::execute_builtin_function | ( | octave_builtin & | builtin_function, |
int | nargout, | ||
const octave_value_list & | args | ||
) |
Definition at line 3425 of file pt-eval.cc.
References octave_value_list::clear(), error(), octave_builtin::function(), octave_value_list::has_magic_colon(), octave_value::is_undefined(), octave_value_list::length(), m_interpreter, m_profiler, octave_value_list::make_storable_values(), octave_builtin::method(), and octave_value_list::xelem().
octave_value_list tree_evaluator::execute_mex_function | ( | octave_mex_function & | mex_function, |
int | nargout, | ||
const octave_value_list & | args | ||
) |
Definition at line 3470 of file pt-eval.cc.
References call_mex(), error(), octave_value_list::has_magic_colon(), and m_profiler.
|
private |
Definition at line 3028 of file pt-eval.cc.
References tree_statement_list::accept(), octave_lvalue::assign(), isinf(), m_echo_file_pos, m_echo_state, octave_value::op_asn_eq, quit_loop_now(), and warning_with_id().
Referenced by visit_simple_for_command().
octave_value_list tree_evaluator::execute_user_function | ( | octave_user_function & | user_function, |
int | nargout, | ||
const octave_value_list & | args | ||
) |
Definition at line 3537 of file pt-eval.cc.
References tree_statement_list::accept(), bind_auto_fcn_vars(), tree_statement::column(), convert_return_list_to_const_vector(), define_parameter_list_from_arg_vector(), echo(), ECHO_FUNCTIONS, error(), error_with_id(), tree_expression::evaluate_n(), tree_statement::expression(), base_list< elt_type >::front(), ignored_fcn_outputs(), octave_value::is_defined(), octave_value_list::length(), base_list< elt_type >::length(), 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_if(), panic_impossible, push_echo_state(), SC_FUNCTION, call_stack::set_location(), call_stack::size(), octave_value_list::slice(), tree_parameter_list::takes_varargs(), user_function(), varval(), and octave_value::xcell_value().
octave_value_list tree_evaluator::execute_user_script | ( | octave_user_script & | user_script, |
int | nargout, | ||
const octave_value_list & | args | ||
) |
Definition at line 3487 of file pt-eval.cc.
References 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(), SC_SCRIPT, and call_stack::size().
void tree_evaluator::final_index_error | ( | index_exception & | ie, |
const tree_expression * | expr | ||
) |
Definition at line 4688 of file pt-eval.cc.
References index_exception::err_id(), error_with_id(), symbol_table::find_function(), octave_value::function_value(), interpreter::get_symbol_table(), octave_value::is_function(), is_variable(), m_interpreter, octave_function::name(), tree_expression::name(), and index_exception::set_var().
Referenced by tree_index_expression::evaluate_n().
octave_value tree_evaluator::find | ( | const std::string & | name | ) |
Definition at line 2715 of file pt-eval.cc.
References symbol_table::fcn_table_find(), call_stack::get_current_stack_frame(), interpreter::get_symbol_table(), octave_value::is_defined(), m_call_stack, m_interpreter, and ovl().
Referenced by interpreter::find().
octave_value tree_evaluator::get_auto_fcn_var | ( | stack_frame::auto_var_type | avt | ) | const |
Definition at line 2205 of file pt-eval.cc.
References call_stack::get_auto_fcn_var(), and m_call_stack.
Referenced by F__varval__(), Fisargout(), Fnargin(), Fnargout(), and Fwarning().
octave_map tree_evaluator::get_autoload_map | ( | void | ) | const |
Definition at line 4582 of file pt-eval.cc.
References m, and m_autoload_map.
Referenced by Fautoload().
|
inline |
Definition at line 429 of file pt-eval.h.
Referenced by __get_bp_table__(), file_editor_tab::add_breakpoint_event(), file_editor_tab::handle_request_remove_breakpoint(), file_editor_tab::remove_all_breakpoints(), and error_system::vwarning().
symbol_scope tree_evaluator::get_current_scope | ( | void | ) | const |
Definition at line 2657 of file pt-eval.cc.
References call_stack::current_scope(), and m_call_stack.
Referenced by symbol_table::current_scope(), evaluate_anon_fcn_handle(), interpreter::get_current_scope(), and make_fcn_handle().
|
inline |
Definition at line 448 of file pt-eval.h.
Referenced by tree_identifier::lvalue(), and tree_black_hole::lvalue().
std::string tree_evaluator::get_dispatch_class | ( | void | ) | const |
Definition at line 2549 of file pt-eval.cc.
References call_stack::get_dispatch_class(), and m_call_stack.
Referenced by get_class_context().
|
inline |
Definition at line 427 of file pt-eval.h.
Referenced by bp_file_info::bp_file_info(), bp_table::add_breakpoint_1(), bp_table::condition_valid(), bp_table::dbclear_all_signals(), bp_table::dbstop_process_map_args(), tree_binary_expression::evaluate(), tree_compound_binary_expression::evaluate(), tree_prefix_expression::evaluate(), tree_postfix_expression::evaluate(), tree_identifier::evaluate_n(), tree_index_expression::evaluate_n(), octave_inline_fcn::execute(), tm_const::generic_concat(), tree::meets_bp_condition(), bp_table::remove_all_breakpoints_from_function(), bp_table::remove_breakpoint_1(), bp_table::set_stop_flag(), and bp_table::stop_on_err_warn_status().
void tree_evaluator::get_line_and_eval | ( | void | ) |
Definition at line 639 of file pt-eval.cc.
References command_editor::decode_prompt_string(), error_system::display_exception(), interpreter::get_error_system(), interpreter::get_event_manager(), interpreter::get_input_system(), input(), interpreter::interactive(), m_interpreter, m_parser, interpreter::parse_and_execute(), event_manager::post_event(), input_system::PS1(), input_system::PS2(), interpreter::recover_from_exception(), and error_system::save_exception().
Referenced by interpreter::get_line_and_eval().
|
inline |
Definition at line 159 of file pt-eval.h.
Referenced by debugger::repl().
|
inline |
Definition at line 431 of file pt-eval.h.
Referenced by tree_binary_expression::evaluate(), tree_prefix_expression::evaluate(), tree_postfix_expression::evaluate(), and interpreter::get_profiler().
symbol_info_list tree_evaluator::get_symbol_info | ( | void | ) |
Definition at line 4571 of file pt-eval.cc.
References call_stack::get_symbol_info(), and m_call_stack.
Referenced by main_window::handle_load_workspace_request(), main_window::handle_open_any_request(), base_qobject::handle_variable_editor_update(), and event_manager::set_workspace().
symbol_scope tree_evaluator::get_top_scope | ( | void | ) | const |
Definition at line 2652 of file pt-eval.cc.
References m_call_stack, and call_stack::top_scope().
Referenced by interpreter::get_top_scope().
octave_user_code * tree_evaluator::get_user_code | ( | const std::string & | fname = "" , |
const std::string & | class_name = "" |
||
) |
Definition at line 2865 of file pt-eval.cc.
References call_stack::debug_user_code(), dir_sep_char, symbol_table::find_function(), cdef_manager::find_method(), symbol_table::find_method(), octave_user_code::find_subfunction(), interpreter::get_cdef_manager(), interpreter::get_symbol_table(), octave_value::is_defined(), octave_value::is_undefined(), octave_value::is_user_code(), m_call_stack, m_interpreter, and octave_value::user_code_value().
Referenced by bp_table::add_breakpoints_in_function(), bp_table::get_breakpoint_list(), bp_table::parse_dbfunction_params(), bp_table::remove_all_breakpoints_from_function(), and bp_table::remove_breakpoints_from_function().
symbol_info_list tree_evaluator::glob_symbol_info | ( | const std::string & | pattern | ) | const |
Definition at line 4559 of file pt-eval.cc.
References call_stack::glob_symbol_info(), and m_call_stack.
Referenced by load_save_system::save_vars().
void tree_evaluator::global_assign | ( | const std::string & | name, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 1981 of file pt-eval.cc.
References call_stack::global_varref(), and m_call_stack.
Referenced by interpreter::global_assign().
std::list< std::string > tree_evaluator::global_variable_names | ( | void | ) | const |
Definition at line 2845 of file pt-eval.cc.
References call_stack::global_variable_names(), and m_call_stack.
Referenced by interpreter::global_variable_names().
octave_value & tree_evaluator::global_varref | ( | const std::string & | name | ) |
Definition at line 1975 of file pt-eval.cc.
References call_stack::global_varref(), and m_call_stack.
Referenced by stack_frame::install_variable(), script_stack_frame::varref(), user_fcn_stack_frame::varref(), and scope_stack_frame::varref().
octave_value tree_evaluator::global_varval | ( | const std::string & | name | ) | const |
Definition at line 1969 of file pt-eval.cc.
References call_stack::global_varval(), and m_call_stack.
Referenced by interpreter::global_varval(), stack_frame::install_variable(), script_stack_frame::varval(), user_fcn_stack_frame::varval(), and scope_stack_frame::varval().
void tree_evaluator::goto_base_frame | ( | void | ) |
Definition at line 2539 of file pt-eval.cc.
References call_stack::goto_base_frame(), and m_call_stack.
void tree_evaluator::goto_caller_frame | ( | void | ) |
Definition at line 2534 of file pt-eval.cc.
References call_stack::goto_caller_frame(), and m_call_stack.
bool tree_evaluator::goto_frame | ( | std::size_t | n = 0 , |
bool | verbose = false |
||
) |
Definition at line 2529 of file pt-eval.cc.
References call_stack::goto_frame(), m_call_stack, and n.
Referenced by debugger::repl().
Matrix tree_evaluator::ignored_fcn_outputs | ( | void | ) | const |
Definition at line 1440 of file pt-eval.cc.
References m_lvalue_list, and Matrix::resize().
Referenced by execute_user_function().
bool tree_evaluator::in_debug_repl | ( | void | ) | const |
Definition at line 5003 of file pt-eval.cc.
References m_debugger_stack.
Referenced by bp_table::parse_dbfunction_params(), reset_debug_state(), interpreter::resume(), interpreter::stop(), visit_if_command_list(), visit_return_command(), and visit_statement().
|
inline |
bool tree_evaluator::in_user_code | ( | void | ) | const |
Definition at line 2965 of file pt-eval.cc.
References call_stack::current_user_code(), and m_call_stack.
Referenced by visit_statement(), and error_system::vwarning().
|
inline |
Definition at line 725 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
|
inline |
Definition at line 754 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
inline |
Definition at line 749 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
|
inline |
Definition at line 715 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
void tree_evaluator::install_variable | ( | const std::string & | name, |
const octave_value & | value, | ||
bool | global | ||
) |
Definition at line 1958 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by interpreter::install_variable().
bool tree_evaluator::is_class_constructor_executing | ( | std::string & | dispatch_class | ) | const |
Definition at line 2566 of file pt-eval.cc.
References call_stack::is_class_constructor_executing(), and m_call_stack.
bool tree_evaluator::is_class_method_executing | ( | std::string & | dispatch_class | ) | const |
Definition at line 2560 of file pt-eval.cc.
References call_stack::is_class_method_executing(), and m_call_stack.
bool tree_evaluator::is_defined | ( | const symbol_record & | sym | ) | const |
Definition at line 1924 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
bool tree_evaluator::is_defined | ( | const tree_expression * | expr | ) | const |
Definition at line 1901 of file pt-eval.cc.
References tree_expression::is_identifier(), and tree_identifier::symbol().
Referenced by convert_return_list_to_const_vector(), define_parameter_list_from_arg_vector(), and make_fcn_handle().
bool tree_evaluator::is_global | ( | const std::string & | name | ) | const |
Definition at line 1932 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by interpreter::isglobal().
bool tree_evaluator::is_local_variable | ( | const std::string & | name | ) | const |
Definition at line 1875 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by interpreter::is_local_variable().
|
private |
Definition at line 4533 of file pt-eval.cc.
References tree::column(), error(), tree_expression::evaluate(), octave_value::is_defined(), octave_value::is_true(), tree::line(), m_call_stack, and call_stack::set_location().
Referenced by visit_do_until_command(), visit_if_command_list(), and visit_while_command().
bool tree_evaluator::is_variable | ( | const std::string & | name | ) | const |
Definition at line 1866 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by eval_string(), tree_index_expression::evaluate_n(), final_index_error(), interpreter::is_variable(), is_variable(), and visit_statement().
bool tree_evaluator::is_variable | ( | const symbol_record & | sym | ) | const |
Definition at line 1915 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
bool tree_evaluator::is_variable | ( | const tree_expression * | expr | ) | const |
Definition at line 1884 of file pt-eval.cc.
References tree_identifier::is_black_hole(), tree_expression::is_identifier(), is_variable(), and tree_identifier::symbol().
void tree_evaluator::keyboard | ( | const std::string & | prompt = "keyboard> " | ) |
Definition at line 1428 of file pt-eval.cc.
References enter_debugger().
std::string tree_evaluator::lookup_autoload | ( | const std::string & | nm | ) | const |
Definition at line 4604 of file pt-eval.cc.
References load_path::find_file(), interpreter::get_load_path(), m_autoload_map, and m_interpreter.
Referenced by fcn_info::fcn_info_rep::find_autoload(), out_of_date_check(), and symbol_exist().
|
inline |
Definition at line 760 of file pt-eval.h.
Referenced by tree_cell::evaluate(), tree_simple_assignment::evaluate(), tree_multi_assignment::evaluate_n(), and tree_index_expression::evaluate_n().
octave_value tree_evaluator::make_fcn_handle | ( | const std::string & | nm | ) |
Definition at line 1605 of file pt-eval.cc.
References octave_classdef::class_name(), octave_classdef::classdef_object_value(), current_function(), octave_function::dispatch_class(), symbol_table::find_method(), cdef_class::find_method(), symbol_table::find_scoped_function(), symbol_table::find_user_function(), octave_value::function_value(), cdef_object::get_class(), get_current_scope(), call_stack::get_current_stack_frame(), cdef_method::get_function(), octave_classdef::get_object(), get_operator_function_name(), 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(), cdef_method::is_static(), octave_function::is_subfunction(), m_call_stack, m_interpreter, octave_function::name(), octave_value(), cdef_object::ok(), octave_function::parent_fcn_name(), octave_function::parent_fcn_names(), and varval().
Referenced by tree_fcn_handle::evaluate(), Fstr2func(), and interpreter::make_function_handle().
std::list< octave_lvalue > tree_evaluator::make_lvalue_list | ( | tree_argument_list * | lhs | ) |
Definition at line 4781 of file pt-eval.cc.
Referenced by tree_multi_assignment::evaluate_n().
octave_value_list tree_evaluator::make_value_list | ( | tree_argument_list * | args, |
const string_vector & | arg_nm | ||
) |
Definition at line 4726 of file pt-eval.cc.
References octave_value::is_cs_list(), octave_value::is_defined(), len, octave_value_list::length(), base_list< elt_type >::length(), octave_value::list_value(), m_index_position, m_lvalue_list, m_num_indices, n, and octave_value_list::stash_name_tags().
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
octave_value tree_evaluator::max_recursion_depth | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4551 of file pt-eval.cc.
References m_max_recursion_depth, and set_internal_variable().
|
inline |
|
inline |
Definition at line 596 of file pt-eval.h.
Referenced by Fmax_recursion_depth(), and source_file().
octave_value tree_evaluator::max_stack_depth | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 2705 of file pt-eval.cc.
References m_call_stack, and call_stack::max_stack_depth().
Referenced by Fmax_stack_depth().
|
private |
Definition at line 4856 of file pt-eval.cc.
References call_stack::curr_fcn_unwind_protect_frame(), m_call_stack, and push_echo_state_cleanup().
Referenced by echo().
|
private |
Definition at line 4824 of file pt-eval.cc.
References caller_function(), call_stack::current_user_code_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 tree_evaluator::mfilename | ( | const std::string & | opt = "" | ) | const |
Definition at line 540 of file pt-eval.cc.
References call_stack::current_user_code(), dir_sep_char, octave_user_code::fcn_file_name(), m_call_stack, and octave_function::name().
Referenced by interpreter::mfilename().
bool tree_evaluator::mislocked | ( | bool | skip_first = false | ) | const |
Definition at line 2694 of file pt-eval.cc.
References call_stack::current_function(), error(), octave_function::islocked(), and m_call_stack.
Referenced by interpreter::mislocked().
void tree_evaluator::mlock | ( | bool | skip_first = false | ) | const |
Definition at line 2662 of file pt-eval.cc.
References call_stack::current_function(), error(), octave_base_value::is_builtin_function(), octave_function::lock(), m_call_stack, and warning().
Referenced by interpreter::mlock().
void tree_evaluator::munlock | ( | bool | skip_first = false | ) | const |
Definition at line 2678 of file pt-eval.cc.
References call_stack::current_function(), error(), octave_base_value::is_builtin_function(), m_call_stack, octave_function::unlock(), and warning().
Referenced by interpreter::munlock().
|
inline |
Definition at line 756 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
delete |
void tree_evaluator::parse_and_execute | ( | const std::string & | input, |
bool & | incomplete_parse | ||
) |
Definition at line 575 of file pt-eval.cc.
References command_history::add(), event_manager::append_history(), at_top_level(), dbstep_flag(), eval(), interpreter::get_event_manager(), command_editor::increment_current_command_number(), input(), interpreter::interactive(), m_exit_status, m_in_top_level_repl, m_interpreter, m_parser, event_manager::pre_input_event(), reset_debug_state(), event_manager::set_workspace(), and Vlast_prompt_time.
Referenced by interpreter::parse_and_execute().
void tree_evaluator::pop_scope | ( | void | ) |
Definition at line 2647 of file pt-eval.cc.
References m_call_stack, and call_stack::pop().
Referenced by base_anonymous_fcn_handle::load_ascii(), base_anonymous_fcn_handle::load_binary(), base_anonymous_fcn_handle::load_hdf5(), cdef_class::make_meta_class(), and base_anonymous_fcn_handle::parse().
void tree_evaluator::pop_stack_frame | ( | void | ) |
Definition at line 2472 of file pt-eval.cc.
References m_call_stack, and call_stack::pop().
Referenced by nested_fcn_handle::call(), weak_nested_fcn_handle::call(), anonymous_fcn_handle::call(), and weak_anonymous_fcn_handle::call().
octave_value tree_evaluator::PS4 | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 5148 of file pt-eval.cc.
References m_PS4, and set_internal_variable().
Referenced by FPS4(), and interpreter::maximum_braindamage().
|
inline |
void tree_evaluator::push_dummy_scope | ( | const std::string & | name | ) |
Definition at line 2640 of file pt-eval.cc.
References m_call_stack, and call_stack::push().
Referenced by base_anonymous_fcn_handle::load_ascii(), base_anonymous_fcn_handle::load_binary(), base_anonymous_fcn_handle::load_hdf5(), cdef_class::make_meta_class(), and base_anonymous_fcn_handle::parse().
void tree_evaluator::push_echo_state | ( | int | type, |
const std::string & | file_name, | ||
int | pos = 1 |
||
) |
Definition at line 4792 of file pt-eval.cc.
References 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 4850 of file pt-eval.cc.
References action_container::add(), 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 tree_evaluator::push_stack_frame | ( | const symbol_scope & | scope | ) |
Definition at line 2444 of file pt-eval.cc.
References m_call_stack, and call_stack::push().
Referenced by nested_fcn_handle::call(), weak_nested_fcn_handle::call(), anonymous_fcn_handle::call(), and weak_anonymous_fcn_handle::call().
void tree_evaluator::push_stack_frame | ( | octave_function * | fcn | ) |
Definition at line 2467 of file pt-eval.cc.
References m_call_stack, and call_stack::push().
void tree_evaluator::push_stack_frame | ( | octave_user_function * | fcn, |
const stack_frame::local_vars_map & | local_vars, | ||
const std::shared_ptr< stack_frame > & | closure_frames = std::shared_ptr<stack_frame> () |
||
) |
Definition at line 2455 of file pt-eval.cc.
References m_call_stack, and call_stack::push().
void 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 2449 of file pt-eval.cc.
References m_call_stack, and call_stack::push().
void tree_evaluator::push_stack_frame | ( | octave_user_script * | script | ) |
Definition at line 2462 of file pt-eval.cc.
References m_call_stack, and call_stack::push().
|
inline |
|
inline |
Definition at line 645 of file pt-eval.h.
Referenced by debugger::repl().
|
private |
Definition at line 5207 of file pt-eval.cc.
References m_breaking, m_continuing, and m_returning.
Referenced by execute_range_loop(), visit_complex_for_command(), visit_do_until_command(), visit_simple_for_command(), and visit_while_command().
symbol_info_list tree_evaluator::regexp_symbol_info | ( | const std::string & | pattern | ) | const |
Definition at line 4565 of file pt-eval.cc.
References m_call_stack, and call_stack::regexp_symbol_info().
void tree_evaluator::remove_autoload | ( | const std::string & | fcn, |
const std::string & | nm | ||
) |
Definition at line 4650 of file pt-eval.cc.
References check_autoload_file(), symbol_table::clear_dld_function(), interpreter::get_symbol_table(), m_autoload_map, and m_interpreter.
Referenced by Fautoload().
|
inline |
Definition at line 685 of file pt-eval.h.
Referenced by interpreter::remove_debug_watch_expression().
int tree_evaluator::repl | ( | void | ) |
Definition at line 731 of file pt-eval.cc.
References at_top_level(), dbstep_flag(), error_system::display_exception(), eval(), interpreter::get_error_system(), command_editor::increment_current_command_number(), interpreter::interactive(), m_in_top_level_repl, m_interpreter, octave_stdout, interpreter::recover_from_exception(), reset_debug_state(), and error_system::save_exception().
Referenced by interpreter::main_loop().
void tree_evaluator::reset_debug_state | ( | bool | mode | ) |
Definition at line 1372 of file pt-eval.cc.
References m_debug_mode.
void tree_evaluator::reset_debug_state | ( | void | ) |
Definition at line 1363 of file pt-eval.cc.
References bp_table::have_breakpoints(), in_debug_repl(), m_bp_table, m_break_on_next_stmt, m_dbstep_flag, and m_debug_mode.
Referenced by bp_table::add_breakpoints_in_function(), enter_debugger(), parse_and_execute(), interpreter::pause(), bp_table::remove_all_breakpoints(), bp_table::remove_all_breakpoints_from_function(), bp_table::remove_breakpoints_from_function(), and repl().
void tree_evaluator::restore_frame | ( | std::size_t | n | ) |
Definition at line 2544 of file pt-eval.cc.
References m_call_stack, n, and call_stack::restore_frame().
Referenced by debugger::repl().
|
inline |
|
inline |
Definition at line 788 of file pt-eval.h.
Referenced by eval_string().
std::list< std::string > tree_evaluator::reverse_lookup_autoload | ( | const std::string & | nm | ) | const |
Definition at line 4631 of file pt-eval.cc.
References m_autoload_map.
int tree_evaluator::server_loop | ( | void | ) |
Definition at line 872 of file pt-eval.cc.
References error_system::display_exception(), interpreter::get_error_system(), interpreter::interactive(), m_exit_status, m_interpreter, m_parser, m_server_mode, octave_interrupt_state, octave_stdout, interpreter::recover_from_exception(), release_unreferenced_dynamic_libraries(), command_editor::run_event_hooks(), error_system::save_exception(), and sleep().
Referenced by interpreter::server_loop().
|
inline |
Definition at line 187 of file pt-eval.h.
Referenced by debugger::server_loop().
void tree_evaluator::set_auto_fcn_var | ( | stack_frame::auto_var_type | avt, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 2198 of file pt-eval.cc.
References m_call_stack, and call_stack::set_auto_fcn_var().
Referenced by bind_auto_fcn_vars(), Fwarning(), and interpreter::intern_nargin().
|
inline |
void tree_evaluator::set_dispatch_class | ( | const std::string & | class_name | ) |
Definition at line 2554 of file pt-eval.cc.
References m_call_stack, and call_stack::set_dispatch_class().
Referenced by class_simple_fcn_handle::call().
|
private |
Definition at line 4806 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 730 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
|
inline |
Definition at line 720 of file pt-eval.h.
Referenced by tree_index_expression::evaluate_n(), and tree_index_expression::lvalue().
|
inline |
Definition at line 765 of file pt-eval.h.
Referenced by tree_cell::evaluate(), tree_simple_assignment::evaluate(), tree_multi_assignment::evaluate_n(), and tree_index_expression::evaluate_n().
|
inline |
Definition at line 164 of file pt-eval.h.
Referenced by debugger::repl().
octave_value tree_evaluator::silent_functions | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4671 of file pt-eval.cc.
References m_silent_functions, and set_internal_variable().
|
inline |
Definition at line 608 of file pt-eval.h.
Referenced by Fsilent_functions().
void tree_evaluator::source_file | ( | const std::string & | file_name, |
const std::string & | context = "" , |
||
bool | verbose = false , |
||
bool | require_file = true |
||
) |
Definition at line 2046 of file pt-eval.cc.
References action_container::add(), octave_function::call(), canonicalize_file_name(), call_stack::current_frame(), dir_sep_chars, dir_sep_str(), error(), octave_user_code::fcn_file_name(), symbol_table::fcn_table_find(), interpreter::get_symbol_table(), call_stack::goto_base_frame(), call_stack::goto_caller_frame(), octave_value::is_undefined(), octave_value::is_user_code(), m_call_stack, m_interpreter, make_absolute(), max_recursion_depth(), octave_stdout, octave_value(), parse_fcn_file(), action_container::protect_var(), call_stack::restore_frame(), tilde_expand(), and octave_value::user_code_value().
Referenced by interpreter::source_file().
bool tree_evaluator::statement_printing_enabled | ( | void | ) |
Definition at line 1356 of file pt-eval.cc.
References m_silent_functions, m_statement_context, SC_FUNCTION, and SC_SCRIPT.
Referenced by tree_simple_assignment::evaluate(), tree_multi_assignment::evaluate_n(), tree_identifier::evaluate_n(), and visit_statement().
octave_value tree_evaluator::string_fill_char | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4678 of file pt-eval.cc.
References m_string_fill_char, and set_internal_variable().
|
inline |
Definition at line 654 of file pt-eval.h.
Referenced by tree_matrix::evaluate(), and Fstring_fill_char().
bool tree_evaluator::switch_case_label_matches | ( | tree_switch_case * | expr, |
const octave_value & | val | ||
) |
Definition at line 2413 of file pt-eval.cc.
References tree_switch_case::case_label(), octave_value::cell_value(), Array< T, Alloc >::columns(), tree_expression::evaluate(), octave_value::is_defined(), octave_value::is_equal(), octave_value::iscell(), and Array< T, Alloc >::rows().
Referenced by visit_switch_command().
void tree_evaluator::top_level_assign | ( | const std::string & | name, |
const octave_value & | val = octave_value () |
||
) |
Definition at line 1994 of file pt-eval.cc.
References m_call_stack, and call_stack::set_top_level_value().
Referenced by interpreter::top_level_assign().
std::list< std::string > tree_evaluator::top_level_variable_names | ( | void | ) | const |
Definition at line 2850 of file pt-eval.cc.
References m_call_stack, and call_stack::top_level_variable_names().
Referenced by interpreter::top_level_variable_names().
octave_value tree_evaluator::top_level_varval | ( | const std::string & | name | ) | const |
Definition at line 1988 of file pt-eval.cc.
References call_stack::get_top_level_value(), and m_call_stack.
Referenced by interpreter::top_level_varval().
symbol_info_list tree_evaluator::top_scope_symbol_info | ( | void | ) | const |
Definition at line 4577 of file pt-eval.cc.
References m_call_stack, and call_stack::top_scope_symbol_info().
Referenced by load_save_system::dump_octave_core().
void tree_evaluator::undefine_parameter_list | ( | tree_parameter_list * | param_list | ) |
Definition at line 2241 of file pt-eval.cc.
References octave_lvalue::assign(), and octave_value::op_asn_eq.
|
private |
Definition at line 4815 of file pt-eval.cc.
References m_echo_file_name, m_echo_file_pos, m_echo_state, and state.
Referenced by push_echo_state_cleanup().
std::list< std::string > tree_evaluator::variable_names | ( | void | ) | const |
Definition at line 2855 of file pt-eval.cc.
References m_call_stack, and call_stack::variable_names().
Referenced by interpreter::variable_names().
octave_value tree_evaluator::varval | ( | const std::string & | name | ) | const |
Definition at line 1950 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
octave_value tree_evaluator::varval | ( | const symbol_record & | sym | ) | const |
Definition at line 1941 of file pt-eval.cc.
References call_stack::get_current_stack_frame(), and m_call_stack.
Referenced by bind_ans(), tree_identifier::evaluate_n(), execute_user_function(), make_fcn_handle(), and interpreter::varval().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1244 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1280 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1274 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1286 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1262 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1268 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1250 of file pt-eval.cc.
References panic_impossible.
|
virtual |
|
virtual |
Reimplemented from tree_walker.
Definition at line 1292 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1298 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1310 of file pt-eval.cc.
References do_breakpoint(), echo_code(), error(), tree::is_active_breakpoint(), tree::line(), m_breaking, m_debug_mode, m_echo_file_pos, m_echo_state, and m_in_loop_command.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3809 of file pt-eval.cc.
References panic_impossible.
|
virtualinherited |
Definition at line 766 of file pt-walk.cc.
References tree_classdef_attribute_list::accept(), tree_classdef_superclass_list::accept(), tree_classdef_body::accept(), tree_identifier::accept(), tree_classdef::attribute_list(), tree_classdef::body(), tree_classdef::ident(), and tree_classdef::superclass_list().
Referenced by tree_classdef::accept().
|
virtualinherited |
Definition at line 616 of file pt-walk.cc.
References tree_identifier::accept(), tree::accept(), tree_classdef_attribute::expression(), and tree_classdef_attribute::ident().
Referenced by tree_classdef_attribute::accept().
|
virtualinherited |
Definition at line 629 of file pt-walk.cc.
Referenced by tree_classdef_attribute_list::accept().
|
virtualinherited |
Definition at line 738 of file pt-walk.cc.
References tree_classdef_body::enum_list(), tree_classdef_body::events_list(), tree_classdef_body::methods_list(), and tree_classdef_body::properties_list().
Referenced by tree_classdef_body::accept().
|
virtualinherited |
Definition at line 716 of file pt-walk.cc.
Referenced by tree_classdef_enum::accept().
|
virtualinherited |
Definition at line 730 of file pt-walk.cc.
References tree_classdef_enum_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_enum_block::accept().
|
virtualinherited |
Definition at line 721 of file pt-walk.cc.
Referenced by tree_classdef_enum_list::accept().
|
virtualinherited |
Definition at line 694 of file pt-walk.cc.
Referenced by tree_classdef_event::accept().
|
virtualinherited |
Definition at line 708 of file pt-walk.cc.
References tree_classdef_events_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_events_block::accept().
|
virtualinherited |
Definition at line 699 of file pt-walk.cc.
Referenced by tree_classdef_events_list::accept().
|
virtualinherited |
Definition at line 686 of file pt-walk.cc.
References tree_classdef_methods_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_methods_block::accept().
|
virtualinherited |
Definition at line 675 of file pt-walk.cc.
References octave_user_function::accept(), and octave_user_function::user_function_value().
Referenced by tree_classdef_methods_list::accept().
|
virtualinherited |
Definition at line 667 of file pt-walk.cc.
References tree_classdef_property_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_properties_block::accept().
|
virtualinherited |
Definition at line 652 of file pt-walk.cc.
Referenced by tree_classdef_property::accept().
|
virtualinherited |
Definition at line 658 of file pt-walk.cc.
Referenced by tree_classdef_property_list::accept().
|
virtualinherited |
Definition at line 638 of file pt-walk.cc.
Referenced by tree_classdef_superclass::accept().
|
virtualinherited |
Definition at line 643 of file pt-walk.cc.
Referenced by tree_classdef_superclass_list::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1331 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3243 of file pt-eval.cc.
References tree_statement_list::accept(), octave_lvalue::assign(), base_list< elt_type >::begin(), tree_complex_for_command::body(), octave_map::contents(), tree_complex_for_command::control_expr(), do_breakpoint(), echo_code(), error(), tree_expression::evaluate(), tree::is_active_breakpoint(), octave_value::is_undefined(), octave_value::isstruct(), octave_map::keys(), tree_complex_for_command::left_hand_side(), tree::line(), tree_expression::lvalue(), m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, octave_value::map_value(), n, Array< T, Alloc >::numel(), string_vector::numel(), octave_value(), octave_value::op_asn_eq, and quit_loop_now().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1304 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3837 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1337 of file pt-eval.cc.
References do_breakpoint(), echo_code(), tree::is_active_breakpoint(), tree::line(), m_continuing, m_debug_mode, m_echo_file_pos, m_echo_state, and m_in_loop_command.
|
virtual |
Reimplemented from tree_walker.
Definition at line 2971 of file pt-eval.cc.
References tree_decl_init_list::accept(), do_breakpoint(), echo_code(), tree_decl_command::initializer_list(), tree::is_active_breakpoint(), tree::line(), m_debug_mode, m_echo_file_pos, and m_echo_state.
|
virtual |
Reimplemented from tree_walker.
Definition at line 2995 of file pt-eval.cc.
References octave_lvalue::assign(), error(), tree_expression::evaluate(), tree_decl_elt::expression(), tree_decl_elt::ident(), tree_decl_elt::is_global(), tree_decl_elt::is_persistent(), octave_lvalue::is_undefined(), m_call_stack, call_stack::make_global(), call_stack::make_persistent(), Matrix, octave_value::op_asn_eq, and tree_identifier::symbol().
|
virtualinherited |
Reimplemented in tree_print_code, tree_breakpoint, and ctor_analyzer.
Definition at line 206 of file pt-walk.cc.
Referenced by tree_decl_init_list::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 4365 of file pt-eval.cc.
References tree_statement_list::accept(), tree_while_command::body(), tree_while_command::condition(), do_breakpoint(), echo_code(), tree::is_active_breakpoint(), is_logically_true(), tree::line(), m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, panic_impossible, and quit_loop_now().
|
virtual |
Reimplemented from tree_walker.
Definition at line 3843 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3716 of file pt-eval.cc.
References assign(), f, tree_function_def::function(), octave_value::function_value(), interpreter::get_symbol_table(), symbol_table::install_cmdline_function(), and m_interpreter.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3738 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3744 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3750 of file pt-eval.cc.
References tree_if_command_list::accept(), tree_if_command::cmd_list(), echo_code(), tree::line(), m_echo_file_pos, and m_echo_state.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3771 of file pt-eval.cc.
References tree_statement_list::accept(), call_stack::current_frame(), do_breakpoint(), in_debug_repl(), is_logically_true(), m_call_stack, m_debug_frame, m_debug_mode, and call_stack::set_location().
|
virtual |
Reimplemented from tree_walker.
Definition at line 3797 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3803 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 4412 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3815 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3821 of file pt-eval.cc.
References do_breakpoint(), echo_code(), tree::is_active_breakpoint(), tree_no_op_command::is_end_of_fcn_or_script(), tree::line(), m_debug_mode, m_echo_file_pos, and m_echo_state.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3697 of file pt-eval.cc.
References panic_impossible.
void tree_evaluator::visit_octave_user_function_header | ( | octave_user_function & | ) |
Definition at line 3704 of file pt-eval.cc.
References panic_impossible.
void tree_evaluator::visit_octave_user_function_trailer | ( | octave_user_function & | ) |
Definition at line 3710 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3530 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3849 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3855 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3861 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3867 of file pt-eval.cc.
References call_stack::current_frame(), dbcont(), do_breakpoint(), echo_code(), in_debug_repl(), tree::is_active_breakpoint(), 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 tree_walker.
Definition at line 3892 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 3057 of file pt-eval.cc.
References tree_statement_list::accept(), octave_lvalue::assign(), tree_simple_for_command::body(), tree::column(), tree_simple_for_command::control_expr(), octave_value::dims(), do_breakpoint(), echo_code(), error(), tree_expression::evaluate(), execute_range_loop(), octave_value::index_op(), tree::is_active_breakpoint(), octave_value::is_double_type(), octave_value::is_int16_type(), octave_value::is_int32_type(), octave_value::is_int64_type(), octave_value::is_int8_type(), octave_value::is_matrix_type(), octave_value::is_range(), octave_value::is_scalar_type(), octave_value::is_single_type(), octave_value::is_string(), octave_value::is_uint16_type(), octave_value::is_uint32_type(), octave_value::is_uint64_type(), octave_value::is_uint8_type(), octave_value::is_undefined(), octave_value::iscell(), octave_value::isstruct(), tree_simple_for_command::left_hand_side(), tree::line(), 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(), 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 tree_walker.
Definition at line 3318 of file pt-eval.cc.
References tree_statement_list::accept(), and tree_spmd_command::body().
|
virtual |
Reimplemented from tree_walker.
Definition at line 3898 of file pt-eval.cc.
References tree::accept(), bind_ans(), tree_statement::column(), tree_statement::command(), call_stack::current_frame(), error_system::debug_on_caught(), bp_table::debug_on_caught(), bp_table::debug_on_err(), error_system::debug_on_error(), error_system::display_exception(), do_breakpoint(), echo_code(), enter_debugger(), error_with_id(), tree_expression::evaluate(), tree_statement::expression(), application::forced_interactive(), interpreter::get_error_system(), in_debug_repl(), in_user_code(), interpreter::interactive(), tree::is_active_breakpoint(), tree_expression::is_assignment_expression(), octave_value::is_defined(), tree_expression::is_identifier(), is_variable(), error_system::last_error_id(), 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, tree_expression::print_result(), interpreter::recover_from_exception(), error_system::save_exception(), call_stack::set_location(), and statement_printing_enabled().
|
virtual |
Reimplemented from tree_walker.
Definition at line 4008 of file pt-eval.cc.
References tree_statement::accept(), base_list< elt_type >::begin(), base_list< elt_type >::end(), error(), m_breaking, m_continuing, and m_returning.
|
virtual |
Reimplemented from tree_walker.
Definition at line 4406 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 4058 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 4064 of file pt-eval.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 4070 of file pt-eval.cc.
References tree_statement_list::accept(), tree_switch_command::case_list(), tree::column(), do_breakpoint(), echo_code(), error(), tree_expression::evaluate(), tree::is_active_breakpoint(), tree::line(), m_debug_mode, m_echo_file_pos, m_echo_state, switch_case_label_matches(), and tree_switch_command::switch_value().
|
virtual |
Reimplemented from tree_walker.
Definition at line 4112 of file pt-eval.cc.
References tree_statement_list::accept(), octave_scalar_map::assign(), octave_lvalue::assign(), tree_try_catch_command::body(), tree_try_catch_command::cleanup(), echo_code(), interpreter::get_error_system(), tree_try_catch_command::identifier(), interpreter_try(), error_system::last_error_id(), error_system::last_error_message(), error_system::last_error_stack(), tree::line(), tree_identifier::lvalue(), m_echo_file_pos, m_echo_state, m_interpreter, octave_value::op_asn_eq, interpreter::recover_from_exception(), and error_system::save_exception().
|
virtual |
Reimplemented from tree_walker.
Definition at line 4267 of file pt-eval.cc.
References tree_statement_list::accept(), tree_unwind_protect_command::body(), tree_unwind_protect_command::cleanup(), do_unwind_protect_cleanup_code(), echo_code(), interpreter::get_error_system(), tree::line(), m_echo_file_pos, m_echo_state, m_interpreter, interpreter::recover_from_exception(), and error_system::save_exception().
|
virtual |
Reimplemented from tree_walker.
Definition at line 4322 of file pt-eval.cc.
References tree_statement_list::accept(), tree_while_command::body(), tree_while_command::condition(), do_breakpoint(), echo_code(), tree::is_active_breakpoint(), is_logically_true(), tree::line(), m_debug_mode, m_echo_file_pos, m_echo_state, m_in_loop_command, panic_impossible, and quit_loop_now().
octave_value tree_evaluator::whos_line_format | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4664 of file pt-eval.cc.
References m_whos_line_format, and set_internal_variable().
Referenced by call_stack::do_global_who_two(), call_stack::do_who_two(), and Fwhos_line_format().
|
inline |
|
inline |
|
private |
Definition at line 899 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 901 of file pt-eval.h.
Referenced by reset_debug_state(), and visit_statement().
|
private |
Definition at line 950 of file pt-eval.h.
Referenced by do_breakpoint(), and reset_debug_state().
|
private |
Definition at line 988 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 903 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_anon_fcn_handle(), 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_logically_true(), 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_if_command_list(), visit_return_command(), and visit_statement().
|
private |
Definition at line 991 of file pt-eval.h.
Referenced by quit_loop_now(), visit_continue_command(), and visit_statement_list().
|
private |
Definition at line 946 of file pt-eval.h.
Referenced by do_breakpoint(), and reset_debug_state().
|
private |
Definition at line 908 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 910 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 |
|
private |
Definition at line 919 of file pt-eval.h.
Referenced by dbcont(), dbquit(), enter_debugger(), and in_debug_repl().
|
private |
Definition at line 958 of file pt-eval.h.
Referenced by echo(), and echo_this_file().
|
private |
Definition at line 964 of file pt-eval.h.
Referenced by push_echo_state_cleanup(), set_echo_state(), and uwp_set_echo_state().
|
private |
Definition at line 974 of file pt-eval.h.
Referenced by echo_code(), execute_range_loop(), 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 976 of file pt-eval.h.
Referenced by echo(), and echo_this_file().
|
private |
Definition at line 962 of file pt-eval.h.
Referenced by execute_range_loop(), 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 923 of file pt-eval.h.
Referenced by parse_and_execute(), and server_loop().
|
private |
Definition at line 985 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 979 of file pt-eval.h.
Referenced by parse_and_execute(), and repl().
|
private |
Definition at line 999 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
private |
Definition at line 1001 of file pt-eval.h.
Referenced by evaluate_end_expression(), and make_value_list().
|
private |
Definition at line 1000 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
private |
Definition at line 998 of file pt-eval.h.
Referenced by evaluate_end_expression().
|
private |
Definition at line 889 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(), execute_builtin_function(), final_index_error(), find(), get_line_and_eval(), get_user_code(), lookup_autoload(), make_fcn_handle(), parse_and_execute(), remove_autoload(), repl(), server_loop(), source_file(), visit_function_def(), visit_statement(), visit_try_catch_command(), and visit_unwind_protect_command().
|
private |
Definition at line 896 of file pt-eval.h.
Referenced by ignored_fcn_outputs(), make_value_list(), and visit_statement().
|
private |
Definition at line 927 of file pt-eval.h.
Referenced by execute_user_function(), execute_user_script(), and max_recursion_depth().
|
private |
Definition at line 1002 of file pt-eval.h.
Referenced by evaluate_end_expression(), and make_value_list().
|
private |
Definition at line 891 of file pt-eval.h.
Referenced by get_line_and_eval(), parse_and_execute(), and server_loop().
|
private |
Definition at line 905 of file pt-eval.h.
Referenced by execute_builtin_function(), execute_mex_function(), execute_user_function(), and execute_user_script().
|
private |
Definition at line 940 of file pt-eval.h.
Referenced by echo_code(), and PS4().
|
private |
Definition at line 994 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 982 of file pt-eval.h.
Referenced by server_loop().
|
private |
Definition at line 934 of file pt-eval.h.
Referenced by silent_functions(), and statement_printing_enabled().
|
private |
Definition at line 894 of file pt-eval.h.
Referenced by execute_user_function(), execute_user_script(), statement_printing_enabled(), and visit_return_command().
|
private |
Definition at line 937 of file pt-eval.h.
Referenced by string_fill_char().
|
private |
Definition at line 930 of file pt-eval.h.
Referenced by whos_line_format().