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

#include "pt-loop.h"

Inheritance diagram for tree_do_until_command:
tree_while_command tree_command tree

Public Member Functions

 tree_do_until_command (int l=-1, int c=-1)
 
 tree_do_until_command (tree_expression *e, comment_list *lc=nullptr, comment_list *tc=nullptr, int l=-1, int c=-1)
 
 tree_do_until_command (tree_expression *e, tree_statement_list *lst, comment_list *lc=nullptr, comment_list *tc=nullptr, int l=-1, int c=-1)
 
 ~tree_do_until_command ()=default
 
void accept (tree_walker &tw)
 
- Public Member Functions inherited from tree_while_command
 tree_while_command (int l=-1, int c=-1)
 
 tree_while_command (tree_expression *e, comment_list *lc=nullptr, comment_list *tc=nullptr, int l=-1, int c=-1)
 
 tree_while_command (tree_expression *e, tree_statement_list *lst, comment_list *lc=nullptr, comment_list *tc=nullptr, int l=-1, int c=-1)
 
 ~tree_while_command ()
 
tree_statement_listbody ()
 
tree_expressioncondition ()
 
comment_listleading_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 ()
 

Additional Inherited Members

- Protected Attributes inherited from tree_while_command
tree_expressionm_expr
 
comment_listm_lead_comm
 
tree_statement_listm_list
 
comment_listm_trail_comm
 

Detailed Description

Definition at line 103 of file pt-loop.h.

Constructor & Destructor Documentation

◆ tree_do_until_command() [1/3]

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

Definition at line 107 of file pt-loop.h.

◆ tree_do_until_command() [2/3]

tree_do_until_command::tree_do_until_command ( tree_expression e,
comment_list lc = nullptr,
comment_list tc = nullptr,
int  l = -1,
int  c = -1 
)
inline

Definition at line 111 of file pt-loop.h.

◆ tree_do_until_command() [3/3]

tree_do_until_command::tree_do_until_command ( tree_expression e,
tree_statement_list lst,
comment_list lc = nullptr,
comment_list tc = nullptr,
int  l = -1,
int  c = -1 
)
inline

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

◆ ~tree_do_until_command()

tree_do_until_command::~tree_do_until_command ( )
default

Member Function Documentation

◆ accept()

void tree_do_until_command::accept ( tree_walker tw)
inlinevirtual

Reimplemented from tree_while_command.

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

References tree_walker::visit_do_until_command().


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