GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-loop.h"
Protected Attributes | |
tree_expression * | expr |
octave_comment_list * | lead_comm |
tree_statement_list * | list |
octave_comment_list * | trail_comm |
Private Member Functions | |
tree_while_command (const tree_while_command &) | |
tree_while_command & | operator= (const tree_while_command &) |
Private Attributes | |
jit_info * | compiled |
|
inline |
|
inline |
tree_while_command::~tree_while_command | ( | void | ) |
Definition at line 47 of file pt-loop.cc.
References compiled, expr, lead_comm, list, and trail_comm.
|
private |
|
virtual |
Implements tree.
Reimplemented in tree_do_until_command.
Definition at line 70 of file pt-loop.cc.
References tree_walker::visit_while_command().
|
inline |
Definition at line 84 of file pt-loop.h.
References list.
Referenced by tree_breakpoint::visit_do_until_command(), tree_checker::visit_do_until_command(), tree_print_code::visit_do_until_command(), octave::tree_evaluator::visit_do_until_command(), jit_convert::visit_do_until_command(), tree_breakpoint::visit_while_command(), tree_checker::visit_while_command(), tree_print_code::visit_while_command(), octave::tree_evaluator::visit_while_command(), and jit_convert::visit_while_command().
|
inlineinherited |
Definition at line 80 of file pt.h.
References string.
Referenced by tree_statement::bp_cond(), and tree_breakpoint::take_action().
|
inlinevirtualinherited |
Reimplemented in tree_colon_expression, and tree_statement.
Definition at line 51 of file pt.h.
Referenced by tree_statement::column(), tree_colon_expression::column(), tree_break_command::dup(), tree_cell::dup(), tree_funcall::dup(), tree_try_catch_command::dup(), tree_continue_command::dup(), tree_fcn_handle::dup(), tree_no_op_command::dup(), tree_constant::dup(), dup(), tree_index_expression::dup(), tree_binary_expression::dup(), tree_return_command::dup(), tree_prefix_expression::dup(), tree_function_def::dup(), tree_identifier::dup(), tree_unwind_protect_command::dup(), tree_anon_fcn_handle::dup(), tree_if_command::dup(), tree_postfix_expression::dup(), tree_do_until_command::dup(), tree_boolean_expression::dup(), tree_global_command::dup(), tree_simple_for_command::dup(), tree_persistent_command::dup(), tree_switch_command::dup(), tree_complex_for_command::dup(), tree_identifier::eval_undefined_error(), octave::base_parser::finish_array_list(), octave::base_parser::finish_colon_expression(), octave::base_parser::finish_if_command(), octave::base_parser::finish_switch_command(), octave::base_parser::make_index_expression(), octave::base_parser::make_indirect_ref(), octave::base_parser::maybe_warn_assign_as_truth_value(), octave::base_parser::maybe_warn_variable_switch_label(), tree_anon_fcn_handle::rvalue1(), octave::tree_evaluator::visit_do_until_command(), octave::tree_evaluator::visit_if_command_list(), octave::tree_evaluator::visit_simple_for_command(), and octave::tree_evaluator::visit_switch_command().
|
inline |
Definition at line 82 of file pt-loop.h.
Referenced by tree_checker::visit_do_until_command(), tree_print_code::visit_do_until_command(), octave::tree_evaluator::visit_do_until_command(), jit_convert::visit_do_until_command(), tree_checker::visit_while_command(), tree_print_code::visit_while_command(), octave::tree_evaluator::visit_while_command(), and jit_convert::visit_while_command().
|
inlinevirtualinherited |
Reimplemented in tree_statement.
Definition at line 71 of file pt.h.
Referenced by tree_statement::delete_breakpoint(), and tree_breakpoint::take_action().
|
virtual |
Implements tree_command.
Reimplemented in tree_do_until_command.
Definition at line 59 of file pt-loop.cc.
References tree::column(), tree_expression::dup(), octave_comment_list::dup(), tree_statement_list::dup(), expr, lead_comm, tree::line(), list, trail_comm, and tree_while_command().
|
inline |
Definition at line 75 of file pt.h.
Referenced by tree_statement::is_breakpoint(), tree_breakpoint::take_action(), octave::tree_evaluator::visit_break_command(), octave::tree_evaluator::visit_complex_for_command(), octave::tree_evaluator::visit_continue_command(), octave::tree_evaluator::visit_do_until_command(), octave::tree_evaluator::visit_global_command(), octave::tree_evaluator::visit_if_command_list(), octave::tree_evaluator::visit_no_op_command(), octave::tree_evaluator::visit_persistent_command(), octave::tree_evaluator::visit_return_command(), octave::tree_evaluator::visit_simple_for_command(), octave::tree_evaluator::visit_statement(), octave::tree_evaluator::visit_switch_command(), and octave::tree_evaluator::visit_while_command().
|
inline |
Definition at line 86 of file pt-loop.h.
Referenced by tree_print_code::visit_do_until_command(), and tree_print_code::visit_while_command().
|
inlinevirtualinherited |
Reimplemented in tree_colon_expression, and tree_statement.
Definition at line 49 of file pt.h.
Referenced by tree_breakpoint::do_decl_command(), tree_try_catch_command::dup(), dup(), tree_binary_expression::dup(), tree_prefix_expression::dup(), tree_unwind_protect_command::dup(), tree_anon_fcn_handle::dup(), tree_if_command::dup(), tree_postfix_expression::dup(), tree_do_until_command::dup(), tree_boolean_expression::dup(), tree_global_command::dup(), tree_simple_for_command::dup(), tree_persistent_command::dup(), tree_switch_command::dup(), tree_complex_for_command::dup(), tree_identifier::eval_undefined_error(), octave::base_parser::finish_array_list(), octave::base_parser::finish_colon_expression(), octave::base_parser::finish_if_command(), octave::base_parser::finish_switch_command(), tree_statement::line(), tree_colon_expression::line(), octave::base_parser::make_index_expression(), octave::base_parser::make_indirect_ref(), octave::base_parser::maybe_warn_assign_as_truth_value(), octave::base_parser::maybe_warn_variable_switch_label(), tree_breakpoint::take_action(), tree_checker::visit_argument_list(), tree_breakpoint::visit_break_command(), tree_checker::visit_complex_for_command(), tree_breakpoint::visit_complex_for_command(), tree_breakpoint::visit_continue_command(), tree_breakpoint::visit_do_until_command(), octave::tree_evaluator::visit_do_until_command(), tree_breakpoint::visit_if_command_list(), octave::tree_evaluator::visit_if_command_list(), tree_breakpoint::visit_no_op_command(), tree_breakpoint::visit_return_command(), tree_checker::visit_simple_assignment(), tree_checker::visit_simple_for_command(), tree_breakpoint::visit_simple_for_command(), octave::tree_evaluator::visit_simple_for_command(), tree_breakpoint::visit_switch_case_list(), tree_breakpoint::visit_switch_command(), octave::tree_evaluator::visit_switch_command(), tree_checker::visit_try_catch_command(), and tree_breakpoint::visit_while_command().
|
inherited |
Definition at line 57 of file pt.cc.
References tree::bp, buffer_error_messages, dims, e, eval_string(), frame, last_error_message(), action_container::protect_var(), retval, str, val, Vdebug_on_error, Vdebug_on_warning, and warning().
|
private |
|
inlinevirtualinherited |
Reimplemented in tree_statement.
Definition at line 63 of file pt.h.
References string.
Referenced by tree_statement::set_breakpoint(), and tree_breakpoint::take_action().
|
inline |
Definition at line 102 of file pt-loop.h.
References compiled.
Referenced by tree_jit::do_execute().
|
inherited |
Definition at line 40 of file pt.cc.
References tree::accept(), retval, and string.
Referenced by jit_info::compile().
|
inline |
Definition at line 88 of file pt-loop.h.
Referenced by tree_print_code::visit_do_until_command(), and tree_print_code::visit_while_command().
|
private |
Definition at line 126 of file pt-loop.h.
Referenced by ~tree_while_command().
|
protected |
Definition at line 111 of file pt-loop.h.
Referenced by dup(), tree_do_until_command::dup(), and ~tree_while_command().
|
protected |
Definition at line 117 of file pt-loop.h.
Referenced by dup(), tree_do_until_command::dup(), and ~tree_while_command().
|
protected |
Definition at line 114 of file pt-loop.h.
Referenced by dup(), tree_do_until_command::dup(), and ~tree_while_command().
|
protected |
Definition at line 120 of file pt-loop.h.
Referenced by dup(), tree_do_until_command::dup(), and ~tree_while_command().