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

#include "pt-id.h"

Inheritance diagram for tree_black_hole:
tree_identifier tree_expression tree

Public Member Functions

 tree_black_hole (int l=-1, int c=-1)
 
 ~tree_black_hole ()=default
 
tree_black_holedup (symbol_scope &) const
 
bool is_black_hole () const
 
octave_lvalue lvalue (tree_evaluator &tw)
 
std::string name () const
 
- Public Member Functions inherited from tree_identifier
 tree_identifier (const symbol_record &s, int l=-1, int c=-1)
 
 tree_identifier (int l=-1, int c=-1)
 
 ~tree_identifier ()=default
 
void accept (tree_walker &tw)
 
void eval_undefined_error ()
 
octave_value evaluate (tree_evaluator &tw, int nargout=1)
 
octave_value_list evaluate_n (tree_evaluator &tw, int nargout=1)
 
bool is_identifier () const
 
bool lvalue_ok () const
 
void mark_as_formal_parameter ()
 
void static_workspace_error ()
 
symbol_record symbol () 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_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_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
 
void mark_as_for_cmd_expr ()
 
tree_expressionmark_in_parens ()
 
virtual std::string oper () const
 
virtual std::string original_text () const
 
int paren_count () const
 
char postfix_index () const
 
bool print_result () const
 
virtual bool rvalue_ok () 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_identifier
symbol_record m_sym
 
- 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 114 of file pt-id.h.

Constructor & Destructor Documentation

◆ tree_black_hole()

tree_black_hole::tree_black_hole ( int  l = -1,
int  c = -1 
)
inline

Definition at line 118 of file pt-id.h.

Referenced by dup().

◆ ~tree_black_hole()

tree_black_hole::~tree_black_hole ( )
default

Member Function Documentation

◆ dup()

tree_black_hole* tree_black_hole::dup ( symbol_scope ) const
inlinevirtual

Reimplemented from tree_identifier.

Definition at line 129 of file pt-id.h.

References tree_black_hole().

◆ is_black_hole()

bool tree_black_hole::is_black_hole ( ) const
inlinevirtual

Reimplemented from tree_identifier.

Definition at line 127 of file pt-id.h.

◆ lvalue()

octave_lvalue tree_black_hole::lvalue ( tree_evaluator tw)
virtual

◆ name()

std::string tree_black_hole::name ( ) const
inlinevirtual

Reimplemented from tree_identifier.

Definition at line 125 of file pt-id.h.


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