GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-id.h"
Protected Attributes | |
bool | for_cmd_expr |
int | num_parens |
char | postfix_index_type |
bool | print_flag |
|
virtualinherited |
Implements tree.
Definition at line 153 of file pt-id.cc.
References tree_walker::visit_identifier().
Referenced by tree_checker::visit_decl_elt(), tree_print_code::visit_decl_elt(), and tree_print_code::visit_try_catch_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(), tree_while_command::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().
|
inlinevirtualinherited |
Definition at line 131 of file pt-exp.h.
References tree_expression::num_parens, tree_expression::postfix_index_type, and tree_expression::print_flag.
Referenced by tree_array_list::copy_base(), tree_funcall::dup(), tree_fcn_handle::dup(), tree_simple_assignment::dup(), tree_constant::dup(), tree_index_expression::dup(), tree_colon_expression::dup(), tree_binary_expression::dup(), tree_prefix_expression::dup(), tree_identifier::dup(), tree_anon_fcn_handle::dup(), tree_multi_assignment::dup(), tree_postfix_expression::dup(), and tree_boolean_expression::dup().
|
inlinevirtualinherited |
Reimplemented in tree_statement.
Definition at line 71 of file pt.h.
Referenced by tree_statement::delete_breakpoint(), and tree_breakpoint::take_action().
|
inlineinherited |
|
inlinevirtual |
Reimplemented from tree_identifier.
Definition at line 161 of file pt-id.h.
References tree_black_hole().
|
inherited |
Definition at line 43 of file pt-id.cc.
References c, tree::column(), error_with_id(), tree::line(), maybe_missing_function_hook(), and tree_identifier::name().
Referenced by tree_identifier::rvalue().
|
inlinevirtualinherited |
Implements tree_expression.
Definition at line 61 of file pt-id.h.
References name.
Referenced by jit_convert::visit_identifier().
|
inlinevirtualinherited |
Reimplemented in tree_multi_assignment, and tree_simple_assignment.
Definition at line 65 of file pt-exp.h.
Referenced by bp_table::condition_valid(), octave::base_parser::maybe_warn_assign_as_truth_value(), octave::tree_evaluator::visit_statement(), and jit_convert::visit_statement().
|
inlinevirtualinherited |
Reimplemented in tree_binary_expression.
|
inlinevirtual |
Reimplemented from tree_identifier.
|
inlinevirtualinherited |
Reimplemented in tree_boolean_expression.
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().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in tree_constant.
Definition at line 55 of file pt-exp.h.
Referenced by tree_argument_list::all_elements_are_constant(), octave::base_parser::finish_colon_expression(), octave::base_parser::maybe_warn_variable_switch_label(), and octave::base_parser::validate_matrix_for_assignment().
|
inlineinherited |
Definition at line 111 of file pt-exp.h.
Referenced by tree_colon_expression::rvalue1().
|
inlinevirtualinherited |
Reimplemented from tree_expression.
|
inlinevirtualinherited |
Reimplemented in tree_index_expression.
Definition at line 63 of file pt-exp.h.
Referenced by tree_argument_list::is_valid_lvalue_list(), octave::base_parser::make_assign_op(), octave::base_parser::make_index_expression(), and octave::base_parser::make_indirect_ref().
|
virtualinherited |
Definition at line 39 of file pt-exp.cc.
References error(), octave_value::is_defined(), octave_value::is_true(), and tree_expression::rvalue1().
Referenced by octave::tree_evaluator::visit_do_until_command(), octave::tree_evaluator::visit_if_command_list(), and octave::tree_evaluator::visit_while_command().
|
inlinevirtualinherited |
Reimplemented in tree_matrix.
Definition at line 57 of file pt-exp.h.
Referenced by octave::base_parser::validate_array_list(), and octave::base_parser::validate_matrix_for_assignment().
|
inlineinherited |
Definition at line 92 of file pt-exp.h.
Referenced by octave::base_parser::make_index_expression(), octave::base_parser::make_indirect_ref(), tree_funcall::rvalue(), and tree_identifier::rvalue().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in tree_unary_expression.
Definition at line 69 of file pt-exp.h.
Referenced by strip_not(), and strip_trans_herm().
|
inlinevirtual |
Reimplemented from tree_identifier.
|
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(), tree_while_command::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().
|
inlinevirtual |
Reimplemented from tree_identifier.
|
inlinevirtualinherited |
Reimplemented from tree_expression.
Definition at line 105 of file pt-id.h.
Referenced by tree_checker::visit_try_catch_command().
|
inlineinherited |
Definition at line 109 of file pt-exp.h.
Referenced by octave::base_parser::make_for_command().
|
inlineinherited |
|
inlineinherited |
Definition at line 98 of file pt-id.h.
Referenced by do_static_init().
|
inlinevirtualinherited |
Reimplemented in tree_binary_expression.
|
inlineinherited |
Definition at line 96 of file pt-id.h.
Referenced by do_global_init().
|
inlineinherited |
|
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().
|
inlinevirtual |
Reimplemented from tree_identifier.
|
inlinevirtualinherited |
Reimplemented in tree_boolean_expression, tree_multi_assignment, tree_binary_expression, tree_simple_assignment, and tree_unary_expression.
|
virtualinherited |
Reimplemented in tree_constant.
Definition at line 78 of file pt-exp.cc.
Referenced by tree_funcall::print_raw().
|
inlineinherited |
Definition at line 90 of file pt-exp.h.
Referenced by octave::base_parser::maybe_warn_assign_as_truth_value(), tree_print_code::print_parens(), and tree_print_code::visit_index_expression().
|
inlineinherited |
Definition at line 94 of file pt-exp.h.
Referenced by tree_funcall::rvalue(), and tree_identifier::rvalue().
|
inlineinherited |
Definition at line 99 of file pt-exp.h.
Referenced by jit_convert::do_assign(), tree_statement::print_result(), tree_identifier::rvalue(), tree_multi_assignment::rvalue(), tree_simple_assignment::rvalue1(), octave::tree_evaluator::visit_statement(), and jit_convert::visit_statement().
|
inlinevirtualinherited |
Reimplemented from tree_expression.
Definition at line 109 of file pt-id.h.
References tree_index_expression::rvalue().
Referenced by tree_identifier::rvalue1().
|
virtualinherited |
Reimplemented from tree_expression.
Definition at line 60 of file pt-id.cc.
References octave_value::do_multi_index_op(), tree_identifier::eval_undefined_error(), fcn, symbol_table::symbol_record::find(), octave_value::function_value(), symbol_table::symbol_record::is_added_static(), octave_value::is_defined(), octave_value::is_function(), octave_function::is_postfix_index_handled(), tree_expression::is_postfix_indexed(), tree_identifier::name(), octave_stdout, tree_expression::postfix_index(), tree_expression::print_result(), octave_value::print_with_name(), retval, octave::tree_evaluator::statement_printing_enabled(), tree_identifier::static_workspace_error(), tree_identifier::sym, and val.
|
virtualinherited |
Reimplemented from tree_expression.
Definition at line 112 of file pt-id.cc.
References octave_value_list::empty(), retval, tree_identifier::rvalue(), and tmp.
|
inlinevirtualinherited |
Reimplemented in tree_boolean_expression, tree_postfix_expression, tree_multi_assignment, tree_anon_fcn_handle, tree_prefix_expression, tree_binary_expression, tree_index_expression, tree_colon_expression, tree_constant, tree_fcn_handle, tree_simple_assignment, tree_compound_binary_expression, tree_matrix, and tree_cell.
|
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().
|
inlineinherited |
Definition at line 119 of file pt-exp.h.
References type.
Referenced by octave::base_parser::make_index_expression(), and octave::base_parser::make_indirect_ref().
|
inlineinherited |
Definition at line 125 of file pt-exp.h.
Referenced by tree_statement::set_print_flag().
|
inlineinherited |
Definition at line 121 of file pt-id.h.
Referenced by tree_identifier::lvalue(), and tree_identifier::rvalue().
|
inherited |
Definition at line 40 of file pt.cc.
References tree::accept(), retval, and string.
Referenced by jit_info::compile().
|
inlineinherited |
|
protectedinherited |
Definition at line 146 of file pt-exp.h.
Referenced by tree_expression::copy_base().
|
protectedinherited |
Definition at line 151 of file pt-exp.h.
Referenced by tree_expression::copy_base().
|
protectedinherited |
Definition at line 158 of file pt-exp.h.
Referenced by tree_expression::copy_base().