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

#include "pt-classdef.h"

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 event_list_const_iterator
 
typedef std::list< tree_classdef_events_block * >::iterator event_list_iterator
 
typedef std::list< tree_classdef_methods_block * >::const_iterator method_list_const_iterator
 
typedef std::list< tree_classdef_methods_block * >::iterator method_list_iterator
 
typedef std::list< tree_classdef_properties_block * >::const_iterator property_list_const_iterator
 
typedef std::list< tree_classdef_properties_block * >::iterator property_list_iterator
 

Public Member Functions

 tree_classdef_body ()
 
 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 accept (tree_walker &tw)
 
tree_classdef_bodyappend (tree_classdef_enum_block *enb)
 
tree_classdef_bodyappend (tree_classdef_events_block *evb)
 
tree_classdef_bodyappend (tree_classdef_methods_block *mb)
 
tree_classdef_bodyappend (tree_classdef_properties_block *pb)
 
std::list< tree_classdef_enum_block * > enum_list ()
 
std::list< tree_classdef_events_block * > event_list ()
 
comment_list leading_comments () const
 
std::list< tree_classdef_methods_block * > method_list ()
 
std::list< tree_classdef_properties_block * > property_list ()
 

Detailed Description

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

Member Typedef Documentation

◆ enum_list_const_iterator

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

◆ enum_list_iterator

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

◆ event_list_const_iterator

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

◆ event_list_iterator

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

◆ method_list_const_iterator

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

◆ method_list_iterator

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

◆ property_list_const_iterator

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

◆ property_list_iterator

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

Constructor & Destructor Documentation

◆ tree_classdef_body() [1/5]

tree_classdef_body::tree_classdef_body ( )

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

◆ tree_classdef_body() [2/5]

tree_classdef_body::tree_classdef_body ( tree_classdef_properties_block pb)

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

References append().

◆ tree_classdef_body() [3/5]

tree_classdef_body::tree_classdef_body ( tree_classdef_methods_block mb)

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

References append().

◆ tree_classdef_body() [4/5]

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/5]

tree_classdef_body::tree_classdef_body ( tree_classdef_enum_block enb)

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

References append().

◆ ~tree_classdef_body()

tree_classdef_body::~tree_classdef_body ( )

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

Member Function Documentation

◆ accept()

void tree_classdef_body::accept ( tree_walker tw)
inline

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

References tree_walker::visit_classdef_body().

Referenced by tree_walker::visit_classdef().

◆ append() [1/4]

tree_classdef_body * tree_classdef_body::append ( tree_classdef_enum_block enb)
inline

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

◆ append() [2/4]

tree_classdef_body * tree_classdef_body::append ( tree_classdef_events_block evb)
inline

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

◆ append() [3/4]

tree_classdef_body * tree_classdef_body::append ( tree_classdef_methods_block mb)
inline

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

◆ append() [4/4]

◆ enum_list()

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

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

Referenced by tree_walker::visit_classdef_body().

◆ event_list()

std::list< tree_classdef_events_block * > tree_classdef_body::event_list ( )
inline

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

Referenced by tree_walker::visit_classdef_body().

◆ leading_comments()

comment_list tree_classdef_body::leading_comments ( ) const

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

References tree_base_classdef_block::leading_comments().

◆ method_list()

std::list< tree_classdef_methods_block * > tree_classdef_body::method_list ( )
inline

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

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

◆ property_list()

std::list< tree_classdef_properties_block * > tree_classdef_body::property_list ( )
inline

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

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


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