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

#include "pt-cmd.h"

Inheritance diagram for tree_function_def:
tree_command tree

Public Member Functions

 tree_function_def (octave_function *f)
 
 ~tree_function_def ()=default
 
void accept (tree_walker &tw)
 
filepos beg_pos () const
 
filepos end_pos () const
 
octave_value function ()
 
- 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 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 124 of file pt-cmd.h.

Constructor & Destructor Documentation

◆ tree_function_def()

tree_function_def::tree_function_def ( octave_function f)
inline

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

◆ ~tree_function_def()

tree_function_def::~tree_function_def ( )
default

Member Function Documentation

◆ accept()

void tree_function_def::accept ( tree_walker tw)
inlinevirtual

Implements tree.

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

References tree_walker::visit_function_def().

Referenced by base_parser::finish_classdef_file().

◆ beg_pos()

filepos tree_function_def::beg_pos ( ) const
inlinevirtual

Implements tree.

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

References octave_function::beg_pos(), f, and octave_value::function_value().

◆ end_pos()

filepos tree_function_def::end_pos ( ) const
inlinevirtual

Implements tree.

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

References octave_function::end_pos(), f, and octave_value::function_value().

◆ function()


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