GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
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 (const token &token)
 
 ~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 token &tok)
 
 tree_identifier (symbol_scope &scope, const token &tok)
 
 ~tree_identifier ()=default
 
void accept (tree_walker &tw)
 
filepos beg_pos () const
 
tree_identifierdup (symbol_scope &scope) const
 
filepos end_pos () const
 
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
 
comment_list leading_comments () const
 
octave_lvalue lvalue (tree_evaluator &tw)
 
bool lvalue_ok () const
 
void mark_as_formal_parameter ()
 
tree_identifiermark_get_set (const token &get_set_tok, const token &dot_tok)
 
std::string name () const
 
void static_workspace_error ()
 
symbol_record symbol () const
 
- Public Member Functions inherited from tree_expression
 tree_expression ()
 
virtual ~tree_expression ()=default
 
virtual void copy_base (const tree_expression &e)
 
size_t delim_count () const
 
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_delims (const token &open_delim, const token &close_delim)
 
virtual std::string oper () const
 
virtual std::string original_text () 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 ()
 
virtual ~tree ()=default
 
const std::string bp_cond () const
 
virtual int column () const
 
virtual void delete_breakpoint ()
 
bool is_active_breakpoint (tree_evaluator &tw) const
 
bool is_breakpoint () const
 
virtual int line () const
 
bool meets_bp_condition (tree_evaluator &tw) const
 
virtual void set_breakpoint (const std::string &condition)
 
std::string str_print_code ()
 

Additional Inherited Members

- Protected Member Functions inherited from tree_identifier
 tree_identifier (symbol_record &sym, const token &tok)
 
- Protected Attributes inherited from tree_identifier
token m_dot_tok
 
token m_get_set_tok
 
symbol_record m_sym
 
token m_token
 
- Protected Attributes inherited from tree_expression
tree_delimiter_list m_delims
 
bool m_for_cmd_expr
 
char m_postfix_index_type
 
bool m_print_flag
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_black_hole()

tree_black_hole::tree_black_hole ( const token token)
inline

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

◆ ~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

Implements tree_expression.

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

References tree_identifier::m_token.

◆ is_black_hole()

bool tree_black_hole::is_black_hole ( ) const
inlinevirtual

Reimplemented from tree_identifier.

Definition at line 154 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_expression.

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


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