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

#include "pt-cmd.h"

Inheritance diagram for tree_command:
tree tree_arguments_block tree_classdef tree_complex_for_command tree_decl_command tree_do_until_command tree_function_def tree_if_command tree_jump_command tree_no_op_command tree_simple_for_command tree_spmd_command tree_switch_command tree_try_catch_command tree_unwind_protect_command tree_while_command

Public Member Functions

 tree_command ()=default
 
virtual ~tree_command ()=default
 
virtual void update_end_pos (const filepos &)
 
- Public Member Functions inherited from tree
 tree ()
 
virtual ~tree ()=default
 
virtual void accept (tree_walker &tw)=0
 
virtual filepos beg_pos () const =0
 
const std::string bp_cond () const
 
virtual int column () const
 
virtual void delete_breakpoint ()
 
virtual filepos end_pos () const =0
 
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 45 of file pt-cmd.h.

Constructor & Destructor Documentation

◆ tree_command()

tree_command::tree_command ( )
default

◆ ~tree_command()

virtual tree_command::~tree_command ( )
virtualdefault

Member Function Documentation

◆ update_end_pos()

virtual void tree_command::update_end_pos ( const filepos )
inlinevirtual

Reimplemented in tree_no_op_command.

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

References error().

Referenced by tree_statement::update_end_pos().


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