#include "pt-assign.h"
Public Member Functions | |
| tree_simple_assignment (bool plhs=false, int l=-1, int c=-1, octave_value::assign_op t=octave_value::op_asn_eq) | |
| tree_simple_assignment (tree_expression *le, tree_expression *re, bool plhs=false, int l=-1, int c=-1, octave_value::assign_op t=octave_value::op_asn_eq) | |
| ~tree_simple_assignment () | |
| void | accept (tree_walker &tw) |
| tree_expression * | dup (symbol_scope &scope) const |
| octave_value | evaluate (tree_evaluator &tw, int nargout=1) |
| octave_value_list | evaluate_n (tree_evaluator &tw, int nargout=1) |
| bool | is_assignment_expression () const |
| tree_expression * | left_hand_side () |
| octave_value::assign_op | op_type () const |
| std::string | oper () const |
| tree_expression * | right_hand_side () |
| bool | rvalue_ok () const |
Public Member Functions inherited from tree_expression | |
| tree_expression (int l=-1, int c=-1) | |
| virtual | ~tree_expression ()=default |
| virtual void | copy_base (const tree_expression &e) |
| virtual bool | is_binary_expression () const |
| virtual bool | is_boolean_expression () const |
| virtual bool | is_colon_expression () const |
| virtual bool | is_constant () const |
| bool | is_for_cmd_expr () const |
| virtual bool | is_identifier () const |
| virtual bool | is_index_expression () const |
| virtual bool | is_matrix () const |
| bool | is_postfix_indexed () const |
| virtual bool | is_prefix_expression () const |
| virtual bool | is_unary_expression () const |
| virtual bool | iscell () const |
| virtual octave_lvalue | lvalue (tree_evaluator &) |
| virtual bool | lvalue_ok () const |
| void | mark_as_for_cmd_expr () |
| tree_expression * | mark_in_parens () |
| virtual std::string | name () const |
| virtual std::string | original_text () const |
| int | paren_count () const |
| char | postfix_index () const |
| bool | print_result () const |
| tree_expression * | set_postfix_index (char type) |
| tree_expression * | set_print_flag (bool print) |
Public Member Functions inherited from tree | |
| tree (int l=-1, int c=-1) | |
| virtual | ~tree ()=default |
| const std::string | bp_cond () const |
| virtual int | column () const |
| void | column (int c) |
| virtual void | delete_breakpoint () |
| bool | is_active_breakpoint (tree_evaluator &tw) const |
| bool | is_breakpoint () const |
| virtual int | line () const |
| void | line (int l) |
| bool | meets_bp_condition (tree_evaluator &tw) const |
| virtual void | set_breakpoint (const std::string &condition) |
| void | set_location (int l, int c) |
| std::string | str_print_code () |
Additional Inherited Members | |
Protected Attributes inherited from tree_expression | |
| bool | m_for_cmd_expr |
| int | m_num_parens |
| char | m_postfix_index_type |
| bool | m_print_flag |
Definition at line 49 of file pt-assign.h.
|
inline |
Definition at line 53 of file pt-assign.h.
Referenced by dup().
| tree_simple_assignment::tree_simple_assignment | ( | tree_expression * | le, |
| tree_expression * | re, | ||
| bool | plhs = false, |
||
| int | l = -1, |
||
| int | c = -1, |
||
| octave_value::assign_op | t = octave_value::op_asn_eq |
||
| ) |
Definition at line 43 of file pt-assign.cc.
| tree_simple_assignment::~tree_simple_assignment | ( | ) |
Definition at line 51 of file pt-assign.cc.
|
inlinevirtual |
Implements tree.
Definition at line 86 of file pt-assign.h.
References tree_walker::visit_simple_assignment().
|
virtual |
Implements tree_expression.
Definition at line 66 of file pt-assign.cc.
References tree_simple_assignment(), tree_expression::copy_base(), and tree_expression::dup().
|
virtual |
Implements tree_expression.
Definition at line 79 of file pt-assign.cc.
References octave_lvalue::assign(), octave_lvalue::clear_index(), octave_value_list::empty(), index_exception::err_id(), err_invalid_structure_assignment(), error(), error_with_id(), tree_expression::evaluate(), interpreter::feval(), tree_evaluator::get_interpreter(), octave_value::is_cs_list(), octave_value::is_undefined(), octave_value::list_value(), tree_expression::lvalue(), tree_evaluator::lvalue_list(), tree_expression::name(), octave_lvalue::numel(), octave_value::op_asn_eq, ovl(), tree_expression::print_result(), tree_evaluator::set_lvalue_list(), index_exception::set_var(), octave_value_list::stash_name_tags(), tree_evaluator::statement_printing_enabled(), and octave_lvalue::value().
Referenced by evaluate_n().
|
inlinevirtual |
Implements tree_expression.
Definition at line 81 of file pt-assign.h.
References evaluate(), and ovl().
|
inlinevirtual |
Reimplemented from tree_expression.
Definition at line 69 of file pt-assign.h.
|
inline |
Definition at line 73 of file pt-assign.h.
Referenced by tree_checker::visit_simple_assignment(), tree_print_code::visit_simple_assignment(), and tree_walker::visit_simple_assignment().
|
inline |
Definition at line 91 of file pt-assign.h.
|
virtual |
Reimplemented from tree_expression.
Definition at line 60 of file pt-assign.cc.
References octave_value::assign_op_as_string().
Referenced by tree_print_code::visit_simple_assignment().
|
inline |
Definition at line 75 of file pt-assign.h.
Referenced by tree_checker::visit_simple_assignment(), tree_print_code::visit_simple_assignment(), and tree_walker::visit_simple_assignment().
|
inlinevirtual |
Reimplemented from tree_expression.
Definition at line 67 of file pt-assign.h.