#include "pt-unop.h"
Public Member Functions | |
tree_prefix_expression (int l=-1, int c=-1) | |
tree_prefix_expression (tree_expression *e, int l=-1, int c=-1, octave_value::unary_op t=octave_value::unknown_unary_op) | |
~tree_prefix_expression ()=default | |
void | accept (tree_walker &tw) |
tree_expression * | dup (symbol_scope &scope) const |
octave_value | evaluate (tree_evaluator &, int nargout=1) |
octave_value_list | evaluate_n (tree_evaluator &tw, int nargout=1) |
std::string | profiler_name () const |
bool | rvalue_ok () const |
Public Member Functions inherited from tree_unary_expression | |
~tree_unary_expression () | |
bool | is_unary_expression () const |
octave_value::unary_op | op_type () const |
std::string | oper () const |
tree_expression * | operand () |
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_assignment_expression () const |
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 | 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 Member Functions inherited from tree_unary_expression | |
tree_unary_expression (int l=-1, int c=-1, octave_value::unary_op t=octave_value::unknown_unary_op) | |
tree_unary_expression (tree_expression *e, int l=-1, int c=-1, octave_value::unary_op t=octave_value::unknown_unary_op) | |
Protected Attributes inherited from tree_unary_expression | |
octave_value::unary_op | m_etype |
tree_expression * | m_op |
Protected Attributes inherited from tree_expression | |
bool | m_for_cmd_expr |
int | m_num_parens |
char | m_postfix_index_type |
bool | m_print_flag |
|
inline |
|
inline |
|
default |
|
inlinevirtual |
Implements tree.
Definition at line 112 of file pt-unop.h.
References tree_walker::visit_prefix_expression().
|
virtual |
Implements tree_expression.
Definition at line 48 of file pt-unop.cc.
References tree_prefix_expression(), tree::column(), tree_expression::copy_base(), tree_expression::dup(), tree_unary_expression::m_etype, and tree_unary_expression::m_op.
|
virtual |
Implements tree_expression.
Definition at line 60 of file pt-unop.cc.
References tree_expression::evaluate(), octave_value::get_count(), tree_evaluator::get_interpreter(), tree_evaluator::get_profiler(), interpreter::get_type_info(), octave_value::is_defined(), tree_expression::lvalue(), tree_unary_expression::m_etype, tree_unary_expression::m_op, octave_value::non_const_unary_op(), octave_value::op_decr, octave_value::op_incr, octave_lvalue::unary_op(), unary_op(), and octave_lvalue::value().
Referenced by evaluate_n().
|
inlinevirtual |
Implements tree_expression.
Definition at line 107 of file pt-unop.h.
References evaluate(), and ovl().
|
inline |
Definition at line 117 of file pt-unop.h.
References tree_unary_expression::oper().
|
inlinevirtual |
Reimplemented from tree_expression.