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

#include "pt-spmd.h"

Inheritance diagram for tree_spmd_command:
tree_command tree

Public Member Functions

 tree_spmd_command (const token &spmd_tok, tree_statement_list *body, const token &end_tok)
 
 ~tree_spmd_command ()
 
void accept (tree_walker &tw)
 
filepos beg_pos () const
 
tree_statement_listbody ()
 
filepos end_pos () const
 
token end_token ()
 
comment_list leading_comments () const
 
token spmd_token ()
 
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 41 of file pt-spmd.h.

Constructor & Destructor Documentation

◆ tree_spmd_command()

tree_spmd_command::tree_spmd_command ( const token spmd_tok,
tree_statement_list body,
const token end_tok 
)
inline

Definition at line 45 of file pt-spmd.h.

◆ ~tree_spmd_command()

tree_spmd_command::~tree_spmd_command ( )

Definition at line 36 of file pt-spmd.cc.

Member Function Documentation

◆ accept()

void tree_spmd_command::accept ( tree_walker tw)
inlinevirtual

Implements tree.

Definition at line 65 of file pt-spmd.h.

References tree_walker::visit_spmd_command().

◆ beg_pos()

filepos tree_spmd_command::beg_pos ( ) const
inlinevirtual

Implements tree.

Definition at line 53 of file pt-spmd.h.

◆ body()

tree_statement_list * tree_spmd_command::body ( )
inline

◆ end_pos()

filepos tree_spmd_command::end_pos ( ) const
inlinevirtual

Implements tree.

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

◆ end_token()

token tree_spmd_command::end_token ( )
inline

Definition at line 63 of file pt-spmd.h.

◆ leading_comments()

comment_list tree_spmd_command::leading_comments ( ) const
inlinevirtual

Implements tree.

Definition at line 56 of file pt-spmd.h.

Referenced by tree_print_code::visit_spmd_command().

◆ spmd_token()

token tree_spmd_command::spmd_token ( )
inline

Definition at line 59 of file pt-spmd.h.

◆ trailing_comments()

comment_list tree_spmd_command::trailing_comments ( ) const
inlinevirtual

Implements tree.

Definition at line 57 of file pt-spmd.h.


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