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

#include "pt-classdef.h"

Collaboration diagram for tree_classdef_body:

Public Types

typedef std::list< tree_classdef_enum_block * >::const_iterator enum_list_const_iterator
 
typedef std::list< tree_classdef_enum_block * >::iterator enum_list_iterator
 
typedef std::list< tree_classdef_events_block * >::const_iterator events_list_const_iterator
 
typedef std::list< tree_classdef_events_block * >::iterator events_list_iterator
 
typedef std::list< tree_classdef_methods_block * >::const_iterator methods_list_const_iterator
 
typedef std::list< tree_classdef_methods_block * >::iterator methods_list_iterator
 
typedef std::list< tree_classdef_properties_block * >::const_iterator properties_list_const_iterator
 
typedef std::list< tree_classdef_properties_block * >::iterator properties_list_iterator
 

Public Member Functions

 tree_classdef_body (const tree_classdef_body &)=delete
 
 tree_classdef_body (tree_classdef_enum_block *enb)
 
 tree_classdef_body (tree_classdef_events_block *evb)
 
 tree_classdef_body (tree_classdef_methods_block *mb)
 
 tree_classdef_body (tree_classdef_properties_block *pb)
 
 tree_classdef_body (void)
 
 ~tree_classdef_body (void)
 
void accept (tree_walker &tw)
 
void append (tree_classdef_enum_block *enb)
 
void append (tree_classdef_events_block *evb)
 
void append (tree_classdef_methods_block *mb)
 
void append (tree_classdef_properties_block *pb)
 
void doc_string (const std::string &txt)
 
std::string doc_string (void) const
 
std::list< tree_classdef_enum_block * > enum_list (void)
 
std::list< tree_classdef_events_block * > events_list (void)
 
bool have_doc_string (void) const
 
std::list< tree_classdef_methods_block * > methods_list (void)
 
tree_classdef_bodyoperator= (const tree_classdef_body &)=delete
 
std::list< tree_classdef_properties_block * > properties_list (void)
 

Private Member Functions

std::string get_doc_string (comment_list *comment) const
 

Private Attributes

std::string m_doc_string
 
std::list< tree_classdef_enum_block * > m_enum_lst
 
std::list< tree_classdef_events_block * > m_events_lst
 
std::list< tree_classdef_methods_block * > m_methods_lst
 
std::list< tree_classdef_properties_block * > m_properties_lst
 

Detailed Description

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

Member Typedef Documentation

◆ enum_list_const_iterator

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

◆ enum_list_iterator

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

◆ events_list_const_iterator

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

◆ events_list_iterator

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

◆ methods_list_const_iterator

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

◆ methods_list_iterator

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

◆ properties_list_const_iterator

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

◆ properties_list_iterator

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

Constructor & Destructor Documentation

◆ tree_classdef_body() [1/6]

tree_classdef_body::tree_classdef_body ( void  )

Definition at line 228 of file pt-classdef.cc.

◆ tree_classdef_body() [2/6]

tree_classdef_body::tree_classdef_body ( tree_classdef_properties_block pb)

Definition at line 232 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [3/6]

tree_classdef_body::tree_classdef_body ( tree_classdef_methods_block mb)

Definition at line 239 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [4/6]

tree_classdef_body::tree_classdef_body ( tree_classdef_events_block evb)

Definition at line 246 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [5/6]

tree_classdef_body::tree_classdef_body ( tree_classdef_enum_block enb)

Definition at line 253 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [6/6]

tree_classdef_body::tree_classdef_body ( const tree_classdef_body )
delete

◆ ~tree_classdef_body()

tree_classdef_body::~tree_classdef_body ( void  )

Definition at line 260 of file pt-classdef.cc.

References m_enum_lst, m_events_lst, m_methods_lst, and m_properties_lst.

Member Function Documentation

◆ accept()

void tree_classdef_body::accept ( tree_walker tw)
inline

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

References tree_walker::visit_classdef_body().

Referenced by tree_walker::visit_classdef().

◆ append() [1/4]

void tree_classdef_body::append ( tree_classdef_enum_block enb)
inline

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

References m_enum_lst.

◆ append() [2/4]

void tree_classdef_body::append ( tree_classdef_events_block evb)
inline

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

References m_events_lst.

◆ append() [3/4]

void tree_classdef_body::append ( tree_classdef_methods_block mb)
inline

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

References m_methods_lst.

◆ append() [4/4]

void tree_classdef_body::append ( tree_classdef_properties_block pb)
inline

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

References m_properties_lst.

Referenced by tree_classdef_body().

◆ doc_string() [1/2]

void tree_classdef_body::doc_string ( const std::string &  txt)
inline

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

References m_doc_string.

Referenced by tree_classdef::doc_string().

◆ doc_string() [2/2]

std::string tree_classdef_body::doc_string ( void  ) const
inline

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

References m_doc_string.

◆ enum_list()

std::list<tree_classdef_enum_block *> tree_classdef_body::enum_list ( void  )
inline

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

References m_enum_lst.

Referenced by tree_walker::visit_classdef_body().

◆ events_list()

std::list<tree_classdef_events_block *> tree_classdef_body::events_list ( void  )
inline

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

References m_events_lst.

Referenced by tree_walker::visit_classdef_body().

◆ get_doc_string()

std::string tree_classdef_body::get_doc_string ( comment_list comment) const
private

Definition at line 292 of file pt-classdef.cc.

References base_list< elt_type >::front(), and comment_elt::text().

◆ have_doc_string()

bool tree_classdef_body::have_doc_string ( void  ) const
inline

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

References m_doc_string.

◆ methods_list()

std::list<tree_classdef_methods_block *> tree_classdef_body::methods_list ( void  )
inline

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

References m_methods_lst.

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

◆ operator=()

tree_classdef_body& tree_classdef_body::operator= ( const tree_classdef_body )
delete

◆ properties_list()

std::list<tree_classdef_properties_block *> tree_classdef_body::properties_list ( void  )
inline

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

References m_properties_lst.

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

Member Data Documentation

◆ m_doc_string

std::string tree_classdef_body::m_doc_string
private

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

Referenced by doc_string(), and have_doc_string().

◆ m_enum_lst

std::list<tree_classdef_enum_block *> tree_classdef_body::m_enum_lst
private

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

Referenced by ~tree_classdef_body(), append(), and enum_list().

◆ m_events_lst

std::list<tree_classdef_events_block *> tree_classdef_body::m_events_lst
private

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

Referenced by ~tree_classdef_body(), append(), and events_list().

◆ m_methods_lst

std::list<tree_classdef_methods_block *> tree_classdef_body::m_methods_lst
private

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

Referenced by ~tree_classdef_body(), append(), and methods_list().

◆ m_properties_lst

std::list<tree_classdef_properties_block *> tree_classdef_body::m_properties_lst
private

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

Referenced by ~tree_classdef_body(), append(), and properties_list().


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