GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-stmt.h"
Public Types | |
typedef std::list < tree_statement * > ::const_iterator | const_iterator |
typedef std::list < tree_statement * > ::const_reverse_iterator | const_reverse_iterator |
typedef std::list < tree_statement * >::iterator | iterator |
typedef std::list < tree_statement * > ::reverse_iterator | reverse_iterator |
Private Member Functions | |
tree_statement_list (const tree_statement_list &) | |
tree_statement_list & | operator= (const tree_statement_list &) |
Private Attributes | |
bool | anon_function_body |
bool | function_body |
bool | script_body |
|
inherited |
Definition at line 37 of file base-list.h.
|
inherited |
Definition at line 40 of file base-list.h.
|
inherited |
Definition at line 36 of file base-list.h.
|
inherited |
Definition at line 39 of file base-list.h.
|
inline |
|
inline |
|
private |
void tree_statement_list::accept | ( | tree_walker & | tw | ) |
Definition at line 289 of file pt-stmt.cc.
References tree_walker::visit_statement_list().
Referenced by delete_breakpoint(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), tree_evaluator::do_unwind_protect_cleanup_code(), eval_string(), get_debug_input(), cdef_class::cdef_class_rep::install_method(), list_breakpoints(), main_loop(), set_breakpoint(), tree_checker::visit_complex_for_command(), tree_evaluator::visit_complex_for_command(), tree_breakpoint::visit_complex_for_command(), tree_print_code::visit_complex_for_command(), tree_breakpoint::visit_do_until_command(), tree_checker::visit_do_until_command(), tree_evaluator::visit_do_until_command(), tree_print_code::visit_do_until_command(), jit_convert::visit_do_until_command(), tree_checker::visit_if_clause(), tree_print_code::visit_if_clause(), tree_evaluator::visit_if_command_list(), tree_breakpoint::visit_if_command_list(), jit_convert::visit_if_command_list(), tree_checker::visit_octave_user_function(), tree_breakpoint::visit_octave_user_function(), tree_print_code::visit_octave_user_function(), tree_checker::visit_octave_user_script(), tree_breakpoint::visit_octave_user_script(), tree_print_code::visit_octave_user_script(), tree_checker::visit_simple_for_command(), tree_evaluator::visit_simple_for_command(), tree_breakpoint::visit_simple_for_command(), tree_print_code::visit_simple_for_command(), jit_convert::visit_simple_for_command(), tree_checker::visit_switch_case(), tree_print_code::visit_switch_case(), tree_breakpoint::visit_switch_case_list(), tree_evaluator::visit_switch_command(), jit_convert::visit_switch_command(), tree_checker::visit_try_catch_command(), tree_evaluator::visit_try_catch_command(), tree_breakpoint::visit_try_catch_command(), tree_print_code::visit_try_catch_command(), tree_checker::visit_unwind_protect_command(), tree_evaluator::visit_unwind_protect_command(), tree_breakpoint::visit_unwind_protect_command(), tree_print_code::visit_unwind_protect_command(), tree_breakpoint::visit_while_command(), tree_checker::visit_while_command(), tree_evaluator::visit_while_command(), tree_print_code::visit_while_command(), and jit_convert::visit_while_command().
bp_table::intmap tree_statement_list::add_breakpoint | ( | const std::string & | file, |
const bp_table::intmap & | line | ||
) |
Definition at line 222 of file pt-stmt.cc.
References set_breakpoint(), and octave_link::update_breakpoint().
Referenced by bp_table::do_add_breakpoint_1().
|
inlineinherited |
Definition at line 105 of file base-list.h.
|
inlineinherited |
Definition at line 93 of file base-list.h.
|
inlineinherited |
Definition at line 96 of file base-list.h.
|
inlineinherited |
Definition at line 78 of file base-list.h.
Referenced by dup().
|
inlineinherited |
Definition at line 79 of file base-list.h.
|
inlineinherited |
Definition at line 76 of file base-list.h.
void tree_statement_list::delete_breakpoint | ( | int | line | ) |
Definition at line 191 of file pt-stmt.cc.
References accept(), tree_breakpoint::clear, octave_value_list::length(), and list_breakpoints().
Referenced by bp_table::do_remove_breakpoint_1(), and remove_all_breakpoints().
tree_statement_list * tree_statement_list::dup | ( | symbol_table::scope_id | scope, |
symbol_table::context_id | context | ||
) | const |
Definition at line 271 of file pt-stmt.cc.
References octave_base_list< elt_type >::append(), octave_base_list< tree_statement * >::begin(), tree_statement::dup(), octave_base_list< tree_statement * >::end(), function_body, and tree_statement_list().
Referenced by tree_if_clause::dup(), tree_try_catch_command::dup(), tree_while_command::dup(), tree_unwind_protect_command::dup(), tree_anon_fcn_handle::dup(), tree_do_until_command::dup(), tree_switch_case::dup(), tree_simple_for_command::dup(), tree_complex_for_command::dup(), and tree_anon_fcn_handle::rvalue1().
|
inlineinherited |
Definition at line 42 of file base-list.h.
|
inlineinherited |
Definition at line 81 of file base-list.h.
Referenced by dup().
|
inlineinherited |
Definition at line 82 of file base-list.h.
|
inlineinherited |
Definition at line 47 of file base-list.h.
|
inlineinherited |
Definition at line 92 of file base-list.h.
|
inlineinherited |
Definition at line 95 of file base-list.h.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Definition at line 45 of file base-list.h.
octave_value_list tree_statement_list::list_breakpoints | ( | void | ) |
Definition at line 213 of file pt-stmt.cc.
References accept(), tree_breakpoint::get_list(), and tree_breakpoint::list.
Referenced by delete_breakpoint(), bp_table::do_get_breakpoint_list(), bp_table::do_remove_breakpoint_1(), and remove_all_breakpoints().
|
inline |
Definition at line 152 of file pt-stmt.h.
Referenced by octave_base_parser::make_anon_fcn_handle().
|
inline |
|
inline |
Definition at line 154 of file pt-stmt.h.
Referenced by octave_user_script::octave_user_script().
|
private |
|
inlineinherited |
Definition at line 102 of file base-list.h.
|
inlineinherited |
Definition at line 101 of file base-list.h.
|
inlineinherited |
Definition at line 99 of file base-list.h.
|
inlineinherited |
Definition at line 98 of file base-list.h.
|
inlineinherited |
Definition at line 84 of file base-list.h.
|
inlineinherited |
Definition at line 85 of file base-list.h.
bp_table::intmap tree_statement_list::remove_all_breakpoints | ( | const std::string & | file | ) |
Definition at line 248 of file pt-stmt.cc.
References delete_breakpoint(), octave_value_list::length(), list_breakpoints(), and octave_link::update_breakpoint().
Referenced by bp_table::do_remove_all_breakpoints_in_file_1(), octave_user_function::~octave_user_function(), and octave_user_script::~octave_user_script().
|
inlineinherited |
Definition at line 50 of file base-list.h.
|
inlineinherited |
Definition at line 88 of file base-list.h.
|
inlineinherited |
Definition at line 89 of file base-list.h.
Definition at line 182 of file pt-stmt.cc.
References accept(), tree_breakpoint::get_line(), and tree_breakpoint::set.
Referenced by add_breakpoint().
|
inlineinherited |
Definition at line 44 of file base-list.h.
|
private |