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

#include "pt-classdef.h"

Inheritance diagram for tree_classdef:
tree_command tree

Public Member Functions

 tree_classdef (const symbol_scope &scope, const std::string &help_text, tree_classdef_attribute_list *a, tree_identifier *i, tree_classdef_superclass_list *sc, tree_classdef_body *b, comment_list *lc, comment_list *tc, const std::string &pn="", const std::string &fn="", int l=-1, int c=-1)
 
 ~tree_classdef ()
 
void accept (tree_walker &tw)
 
tree_classdef_attribute_listattribute_list ()
 
tree_classdef_bodybody ()
 
std::string doc_string () const
 
std::string file_name () const
 
tree_identifierident ()
 
comment_listleading_comment ()
 
octave_value make_meta_class (interpreter &interp, bool is_at_folder=false)
 
std::string package_name () const
 
symbol_scope scope ()
 
tree_classdef_superclass_listsuperclass_list ()
 
comment_listtrailing_comment ()
 
- 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 678 of file pt-classdef.h.

Constructor & Destructor Documentation

◆ tree_classdef()

tree_classdef::tree_classdef ( const symbol_scope scope,
const std::string &  help_text,
tree_classdef_attribute_list a,
tree_identifier i,
tree_classdef_superclass_list sc,
tree_classdef_body b,
comment_list lc,
comment_list tc,
const std::string &  pn = "",
const std::string &  fn = "",
int  l = -1,
int  c = -1 
)
inline

Definition at line 682 of file pt-classdef.h.

◆ ~tree_classdef()

tree_classdef::~tree_classdef ( )
inline

Definition at line 696 of file pt-classdef.h.

Member Function Documentation

◆ accept()

void tree_classdef::accept ( tree_walker tw)
inlinevirtual

Implements tree.

Definition at line 733 of file pt-classdef.h.

References tree_walker::visit_classdef().

Referenced by base_parser::finish_classdef_file().

◆ attribute_list()

tree_classdef_attribute_list* tree_classdef::attribute_list ( )
inline

Definition at line 709 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().

◆ body()

tree_classdef_body* tree_classdef::body ( )
inline

Definition at line 716 of file pt-classdef.h.

Referenced by tree_walker::visit_classdef().

◆ doc_string()

std::string tree_classdef::doc_string ( ) const
inline

Definition at line 728 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class().

◆ file_name()

std::string tree_classdef::file_name ( ) const
inline

Definition at line 723 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class().

◆ ident()

tree_identifier* tree_classdef::ident ( )
inline

Definition at line 711 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().

◆ leading_comment()

comment_list* tree_classdef::leading_comment ( )
inline

Definition at line 718 of file pt-classdef.h.

◆ make_meta_class()

octave_value tree_classdef::make_meta_class ( interpreter interp,
bool  is_at_folder = false 
)

◆ package_name()

std::string tree_classdef::package_name ( ) const
inline

Definition at line 721 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class().

◆ scope()

symbol_scope tree_classdef::scope ( )
inline

Definition at line 706 of file pt-classdef.h.

◆ superclass_list()

tree_classdef_superclass_list* tree_classdef::superclass_list ( )
inline

Definition at line 714 of file pt-classdef.h.

Referenced by cdef_class::make_meta_class(), and tree_walker::visit_classdef().

◆ trailing_comment()

comment_list* tree_classdef::trailing_comment ( )
inline

Definition at line 719 of file pt-classdef.h.


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