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

#include "oct-lvalue.h"

Public Member Functions

 octave_lvalue (const symbol_record &sr, const std::shared_ptr< stack_frame > &frame)
 
void assign (octave_value::assign_op, const octave_value &)
 
void clear_index ()
 
void define (const octave_value &v)
 
bool index_is_colon () const
 
bool index_is_empty () const
 
std::string index_type () const
 
bool is_black_hole () const
 
bool is_defined () const
 
bool is_undefined () const
 
bool isstruct () const
 
void mark_black_hole ()
 
octave_idx_type numel () const
 
void set_index (const std::string &t, const std::list< octave_value_list > &i)
 
void unary_op (octave_value::unary_op op)
 
octave_value value () const
 

Detailed Description

Definition at line 39 of file oct-lvalue.h.

Constructor & Destructor Documentation

◆ octave_lvalue()

octave_lvalue::octave_lvalue ( const symbol_record sr,
const std::shared_ptr< stack_frame > &  frame 
)
inline

Definition at line 43 of file oct-lvalue.h.

Member Function Documentation

◆ assign()

◆ clear_index()

void octave_lvalue::clear_index ( )
inline

Definition at line 70 of file oct-lvalue.h.

Referenced by tree_simple_assignment::evaluate().

◆ define()

void octave_lvalue::define ( const octave_value v)

Definition at line 52 of file oct-lvalue.cc.

Referenced by tree_evaluator::define_parameter_list_from_arg_vector().

◆ index_is_colon()

bool octave_lvalue::index_is_colon ( ) const

Definition at line 202 of file oct-lvalue.cc.

References octave_value_list::length().

◆ index_is_empty()

bool octave_lvalue::index_is_empty ( ) const

Definition at line 187 of file oct-lvalue.cc.

References octave_value_list::length().

◆ index_type()

std::string octave_lvalue::index_type ( ) const
inline

Definition at line 72 of file oct-lvalue.h.

◆ is_black_hole()

bool octave_lvalue::is_black_hole ( ) const
inline

Definition at line 51 of file oct-lvalue.h.

Referenced by assign(), unary_op(), and value().

◆ is_defined()

bool octave_lvalue::is_defined ( ) const

Definition at line 40 of file oct-lvalue.cc.

References is_defined().

Referenced by is_defined(), and is_undefined().

◆ is_undefined()

bool octave_lvalue::is_undefined ( ) const

Definition at line 46 of file oct-lvalue.cc.

References is_defined().

Referenced by tree_evaluator::visit_decl_elt().

◆ isstruct()

bool octave_lvalue::isstruct ( ) const
inline

Definition at line 59 of file oct-lvalue.h.

◆ mark_black_hole()

void octave_lvalue::mark_black_hole ( )
inline

Definition at line 53 of file oct-lvalue.h.

Referenced by tree_black_hole::lvalue().

◆ numel()

◆ set_index()

void octave_lvalue::set_index ( const std::string &  t,
const std::list< octave_value_list > &  i 
)

Definition at line 176 of file oct-lvalue.cc.

References error().

Referenced by tree_index_expression::lvalue().

◆ unary_op()

void octave_lvalue::unary_op ( octave_value::unary_op  op)

◆ value()


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