GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
tree_complex_for_command Class Reference

#include "pt-loop.h"

Inheritance diagram for tree_complex_for_command:
tree_command tree

Public Member Functions

 tree_complex_for_command (const token &for_tok, tree_argument_list *le, const token &eq_tok, tree_expression *re, tree_statement_list *body, const token &end_tok)
 
 ~tree_complex_for_command ()
 
void accept (tree_walker &tw)
 
filepos beg_pos () const
 
tree_statement_listbody ()
 
tree_expressioncontrol_expr ()
 
filepos end_pos () const
 
token end_token ()
 
token for_token () const
 
comment_list leading_comments () const
 
tree_argument_listleft_hand_side ()
 
comment_list trailing_comments () const
 
- 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 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 213 of file pt-loop.h.

Constructor & Destructor Documentation

◆ tree_complex_for_command()

tree_complex_for_command::tree_complex_for_command ( const token for_tok,
tree_argument_list le,
const token eq_tok,
tree_expression re,
tree_statement_list body,
const token end_tok 
)
inline

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

◆ ~tree_complex_for_command()

tree_complex_for_command::~tree_complex_for_command ( )

Definition at line 63 of file pt-loop.cc.

Member Function Documentation

◆ accept()

void tree_complex_for_command::accept ( tree_walker tw)
inlinevirtual

Implements tree.

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

References tree_walker::visit_complex_for_command().

◆ beg_pos()

filepos tree_complex_for_command::beg_pos ( ) const
inlinevirtual

Implements tree.

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

◆ body()

◆ control_expr()

◆ end_pos()

filepos tree_complex_for_command::end_pos ( ) const
inlinevirtual

Implements tree.

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

◆ end_token()

token tree_complex_for_command::end_token ( )
inline

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

◆ for_token()

token tree_complex_for_command::for_token ( ) const
inline

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

◆ leading_comments()

comment_list tree_complex_for_command::leading_comments ( ) const
inlinevirtual

Implements tree.

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

Referenced by tree_print_code::visit_complex_for_command().

◆ left_hand_side()

◆ trailing_comments()

comment_list tree_complex_for_command::trailing_comments ( ) const
inlinevirtual

Implements tree.

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


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