GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
tree_braindead_shortcircuit_binary_expression Class Reference

#include "pt-binop.h"

Inheritance diagram for tree_braindead_shortcircuit_binary_expression:
tree_binary_expression tree_expression tree

Public Member Functions

 tree_braindead_shortcircuit_binary_expression (tree_expression *a, tree_expression *b, int l, int c, octave_value::binary_op t)
 
 ~tree_braindead_shortcircuit_binary_expression ()=default
 
tree_expressiondup (symbol_scope &scope) const
 
octave_value evaluate (tree_evaluator &, int nargout=1)
 
octave_value_list evaluate_n (tree_evaluator &tw, int nargout=1)
 
bool is_braindead () const
 
- Public Member Functions inherited from tree_binary_expression
 tree_binary_expression (int l=-1, int c=-1, octave_value::binary_op t=octave_value::unknown_binary_op)
 
 tree_binary_expression (tree_expression *a, tree_expression *b, int l=-1, int c=-1, octave_value::binary_op t=octave_value::unknown_binary_op)
 
 ~tree_binary_expression ()
 
void accept (tree_walker &tw)
 
octave_value_list evaluate_n (tree_evaluator &tw, int nargout=1)
 
bool is_binary_expression () const
 
tree_expressionlhs ()
 
void lhs (tree_expression *expr)
 
void matlab_style_short_circuit_warning (const char *op)
 
octave_value::binary_op op_type () const
 
std::string oper () const
 
void preserve_operands ()
 
std::string profiler_name () const
 
tree_expressionrhs ()
 
void rhs (tree_expression *expr)
 
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_assignment_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_expressionmark_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_expressionset_postfix_index (char type)
 
tree_expressionset_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_binary_expression
tree_expressionm_lhs
 
tree_expressionm_rhs
 
- Protected Attributes inherited from tree_expression
bool m_for_cmd_expr
 
int m_num_parens
 
char m_postfix_index_type
 
bool m_print_flag
 

Detailed Description

Definition at line 126 of file pt-binop.h.

Constructor & Destructor Documentation

◆ tree_braindead_shortcircuit_binary_expression()

tree_braindead_shortcircuit_binary_expression::tree_braindead_shortcircuit_binary_expression ( tree_expression a,
tree_expression b,
int  l,
int  c,
octave_value::binary_op  t 
)
inline

Definition at line 131 of file pt-binop.h.

Referenced by dup().

◆ ~tree_braindead_shortcircuit_binary_expression()

tree_braindead_shortcircuit_binary_expression::~tree_braindead_shortcircuit_binary_expression ( )
default

Member Function Documentation

◆ dup()

◆ evaluate()

◆ evaluate_n()

octave_value_list tree_binary_expression::evaluate_n
inline

Definition at line 96 of file pt-binop.h.

◆ is_braindead()

bool tree_braindead_shortcircuit_binary_expression::is_braindead ( ) const
inlinevirtual

Reimplemented from tree_binary_expression.

Definition at line 148 of file pt-binop.h.


The documentation for this class was generated from the following files: