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

#include "pt-except.h"

Inheritance diagram for tree_try_catch_command:
tree_command tree

Public Member Functions

 tree_try_catch_command (int l=-1, int c=-1)
 
 tree_try_catch_command (tree_statement_list *tc, tree_statement_list *cc, tree_identifier *id, comment_list *cl=nullptr, comment_list *cm=nullptr, comment_list *ct=nullptr, int l=-1, int c=-1)
 
 ~tree_try_catch_command ()
 
void accept (tree_walker &tw)
 
tree_statement_listbody ()
 
tree_statement_listcleanup ()
 
tree_identifieridentifier ()
 
comment_listleading_comment ()
 
comment_listmiddle_comment ()
 
comment_listtrailing_comment ()
 
- Public Member Functions inherited from tree_command
 tree_command (int l=-1, int c=-1)
 
virtual ~tree_command ()=default
 
- 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 ()
 

Detailed Description

Definition at line 42 of file pt-except.h.

Constructor & Destructor Documentation

◆ tree_try_catch_command() [1/2]

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

Definition at line 46 of file pt-except.h.

◆ tree_try_catch_command() [2/2]

tree_try_catch_command::tree_try_catch_command ( tree_statement_list tc,
tree_statement_list cc,
tree_identifier id,
comment_list cl = nullptr,
comment_list cm = nullptr,
comment_list ct = nullptr,
int  l = -1,
int  c = -1 
)
inline

Definition at line 52 of file pt-except.h.

◆ ~tree_try_catch_command()

tree_try_catch_command::~tree_try_catch_command ( )

Definition at line 50 of file pt-except.cc.

Member Function Documentation

◆ accept()

void tree_try_catch_command::accept ( tree_walker tw)
inlinevirtual

Implements tree.

Definition at line 78 of file pt-except.h.

References tree_walker::visit_try_catch_command().

◆ body()

◆ cleanup()

◆ identifier()

◆ leading_comment()

comment_list* tree_try_catch_command::leading_comment ( )
inline

Definition at line 72 of file pt-except.h.

Referenced by tree_print_code::visit_try_catch_command().

◆ middle_comment()

comment_list* tree_try_catch_command::middle_comment ( )
inline

Definition at line 74 of file pt-except.h.

Referenced by tree_print_code::visit_try_catch_command().

◆ trailing_comment()

comment_list* tree_try_catch_command::trailing_comment ( )
inline

Definition at line 76 of file pt-except.h.

Referenced by tree_print_code::visit_try_catch_command().


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