GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
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 (const token try_tok, tree_statement_list *tc, const token catch_tok, tree_identifier *id, tree_statement_list *cc, const token &end_tok)
 
 ~tree_try_catch_command ()
 
void accept (tree_walker &tw)
 
filepos beg_pos () const
 
tree_statement_listbody ()
 
tree_statement_listcleanup ()
 
filepos end_pos () const
 
tree_identifieridentifier ()
 
- Public Member Functions inherited from tree_command
 tree_command ()=default
 
virtual ~tree_command ()=default
 
virtual void update_end_pos (const filepos &)
 
- 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 comment_list leading_comments () 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 ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_try_catch_command()

tree_try_catch_command::tree_try_catch_command ( const token  try_tok,
tree_statement_list tc,
const token  catch_tok,
tree_identifier id,
tree_statement_list cc,
const token end_tok 
)
inline

Definition at line 46 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 63 of file pt-except.h.

References tree_walker::visit_try_catch_command().

◆ beg_pos()

filepos tree_try_catch_command::beg_pos ( ) const
inlinevirtual

Implements tree.

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

References token::beg_pos().

◆ body()

◆ cleanup()

◆ end_pos()

filepos tree_try_catch_command::end_pos ( ) const
inlinevirtual

Implements tree.

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

References token::end_pos().

◆ identifier()


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