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

#include "pt-cmd.h"

Inheritance diagram for tree_no_op_command:
tree_command tree

Public Member Functions

 tree_no_op_command (const std::string &cmd="no_op", bool e=false, int l=-1, int c=-1)
 
 ~tree_no_op_command ()=default
 
void accept (tree_walker &tw)
 
bool is_end_of_fcn_or_script () const
 
bool is_end_of_file () const
 
std::string original_command ()
 
- 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 56 of file pt-cmd.h.

Constructor & Destructor Documentation

◆ tree_no_op_command()

tree_no_op_command::tree_no_op_command ( const std::string &  cmd = "no_op",
bool  e = false,
int  l = -1,
int  c = -1 
)
inline

Definition at line 60 of file pt-cmd.h.

◆ ~tree_no_op_command()

tree_no_op_command::~tree_no_op_command ( )
default

Member Function Documentation

◆ accept()

void tree_no_op_command::accept ( tree_walker tw)
inlinevirtual

Implements tree.

Definition at line 68 of file pt-cmd.h.

References tree_walker::visit_no_op_command().

◆ is_end_of_fcn_or_script()

bool tree_no_op_command::is_end_of_fcn_or_script ( ) const
inline

◆ is_end_of_file()

bool tree_no_op_command::is_end_of_file ( ) const
inline

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

Referenced by tree_statement::is_end_of_file().

◆ original_command()

std::string tree_no_op_command::original_command ( )
inline

Definition at line 80 of file pt-cmd.h.

Referenced by tree_print_code::visit_no_op_command().


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