#include "pt-binop.h"
Protected Attributes | |
tree_expression * | m_lhs |
token | m_op_tok |
tree_expression * | m_rhs |
![]() | |
tree_delimiter_list | m_delims |
bool | m_for_cmd_expr |
char | m_postfix_index_type |
bool | m_print_flag |
Definition at line 46 of file pt-binop.h.
|
inline |
Definition at line 50 of file pt-binop.h.
|
inline |
Definition at line 54 of file pt-binop.h.
|
inline |
Definition at line 60 of file pt-binop.h.
|
inlinevirtual |
Implements tree.
Reimplemented in tree_boolean_expression, and tree_compound_binary_expression.
Definition at line 99 of file pt-binop.h.
References tree_walker::visit_binary_expression().
|
inlinevirtual |
|
virtual |
Implements tree_expression.
Reimplemented in tree_braindead_shortcircuit_binary_expression, and tree_boolean_expression.
Definition at line 57 of file pt-binop.cc.
References tree_expression::copy_base(), tree_expression::dup(), m_lhs, m_op_tok, and m_rhs.
|
inlinevirtual |
|
virtual |
Implements tree_expression.
Reimplemented in tree_braindead_shortcircuit_binary_expression, tree_boolean_expression, and tree_compound_binary_expression.
Definition at line 71 of file pt-binop.cc.
References binary_op(), tree_expression::evaluate(), tree_evaluator::get_interpreter(), tree_evaluator::get_profiler(), interpreter::get_type_info(), octave_value::is_defined(), m_lhs, and m_rhs.
Referenced by tree_braindead_shortcircuit_binary_expression::evaluate(), and evaluate_n().
|
inlinevirtual |
Implements tree_expression.
Reimplemented in tree_braindead_shortcircuit_binary_expression, tree_boolean_expression, and tree_compound_binary_expression.
Definition at line 94 of file pt-binop.h.
References evaluate(), and ovl().
|
inlinevirtual |
Reimplemented from tree_expression.
Definition at line 73 of file pt-binop.h.
|
inlinevirtual |
Reimplemented in tree_braindead_shortcircuit_binary_expression.
Definition at line 108 of file pt-binop.h.
|
inline |
Definition at line 84 of file pt-binop.h.
References m_lhs.
Referenced by base_parser::maybe_convert_to_braindead_shortcircuit(), tree_print_code::visit_binary_expression(), and tree_walker::visit_binary_expression().
|
inline |
Definition at line 87 of file pt-binop.h.
References m_lhs.
void tree_binary_expression::matlab_style_short_circuit_warning | ( | const char * | op | ) |
Definition at line 43 of file pt-binop.cc.
References warning_with_id().
Referenced by tree_braindead_shortcircuit_binary_expression::evaluate().
|
inline |
Definition at line 82 of file pt-binop.h.
Referenced by tree_braindead_shortcircuit_binary_expression::dup(), tree_braindead_shortcircuit_binary_expression::evaluate(), and base_parser::maybe_convert_to_braindead_shortcircuit().
|
virtual |
Reimplemented from tree_expression.
Reimplemented in tree_boolean_expression.
Definition at line 51 of file pt-binop.cc.
References octave_value::binary_op_as_string().
Referenced by profiler_name(), and tree_print_code::visit_binary_expression().
|
inline |
Definition at line 69 of file pt-binop.h.
References m_op_tok.
Referenced by base_parser::maybe_convert_to_braindead_shortcircuit().
|
inline |
Definition at line 71 of file pt-binop.h.
Referenced by base_parser::maybe_convert_to_braindead_shortcircuit().
|
inline |
Definition at line 104 of file pt-binop.h.
References oper().
|
inline |
Definition at line 85 of file pt-binop.h.
References m_rhs.
Referenced by base_parser::maybe_convert_to_braindead_shortcircuit(), tree_print_code::visit_binary_expression(), and tree_walker::visit_binary_expression().
|
inline |
Definition at line 88 of file pt-binop.h.
References m_rhs.
|
inlinevirtual |
Reimplemented from tree_expression.
Reimplemented in tree_boolean_expression, and tree_compound_binary_expression.
Definition at line 78 of file pt-binop.h.
|
protected |
Definition at line 113 of file pt-binop.h.
Referenced by ~tree_binary_expression(), beg_pos(), dup(), tree_braindead_shortcircuit_binary_expression::dup(), tree_boolean_expression::dup(), evaluate(), tree_braindead_shortcircuit_binary_expression::evaluate(), tree_boolean_expression::evaluate(), lhs(), and lhs().
|
protected |
Definition at line 115 of file pt-binop.h.
Referenced by dup(), tree_braindead_shortcircuit_binary_expression::dup(), tree_boolean_expression::dup(), and operator_token().
|
protected |
Definition at line 117 of file pt-binop.h.
Referenced by ~tree_binary_expression(), dup(), tree_braindead_shortcircuit_binary_expression::dup(), tree_boolean_expression::dup(), end_pos(), evaluate(), tree_braindead_shortcircuit_binary_expression::evaluate(), tree_boolean_expression::evaluate(), rhs(), and rhs().