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

#include "pt-classdef.h"

Inheritance diagram for tree_base_classdef_block:
tree tree_classdef_block< tree_classdef_enum_list > tree_classdef_block< tree_classdef_event_list > tree_classdef_block< tree_classdef_method_list > tree_classdef_block< tree_classdef_property_list > tree_classdef_block< T > tree_classdef_enum_block tree_classdef_events_block tree_classdef_methods_block tree_classdef_properties_block

Public Member Functions

 tree_base_classdef_block (const token &block_tok, tree_classdef_attribute_list *a, const token &end_tok)
 
 ~tree_base_classdef_block ()
 
void accept (tree_walker &)
 
tree_classdef_attribute_listattribute_list ()
 
comment_list leading_comments () const
 
- Public Member Functions inherited from tree
 tree ()
 
virtual ~tree ()=default
 
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 int line () const
 
bool meets_bp_condition (tree_evaluator &tw) const
 
virtual void set_breakpoint (const std::string &condition)
 
std::string str_print_code ()
 

Protected Attributes

tree_classdef_attribute_listm_attr_list
 
token m_block_tok
 
token m_end_tok
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_base_classdef_block()

tree_base_classdef_block::tree_base_classdef_block ( const token block_tok,
tree_classdef_attribute_list a,
const token end_tok 
)
inline

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

◆ ~tree_base_classdef_block()

tree_base_classdef_block::~tree_base_classdef_block ( )
inline

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

References m_attr_list.

Member Function Documentation

◆ accept()

void tree_base_classdef_block::accept ( tree_walker )
inlinevirtual

◆ attribute_list()

tree_classdef_attribute_list * tree_base_classdef_block::attribute_list ( )
inline

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

References m_attr_list.

◆ leading_comments()

comment_list tree_base_classdef_block::leading_comments ( ) const
inlinevirtual

Reimplemented from tree.

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

References token::leading_comments(), and m_block_tok.

Referenced by tree_classdef_body::leading_comments().

Member Data Documentation

◆ m_attr_list

tree_classdef_attribute_list* tree_base_classdef_block::m_attr_list
protected

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

Referenced by ~tree_base_classdef_block(), and attribute_list().

◆ m_block_tok

token tree_base_classdef_block::m_block_tok
protected

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

Referenced by tree_classdef_block< T >::beg_pos(), and leading_comments().

◆ m_end_tok

token tree_base_classdef_block::m_end_tok
protected

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

Referenced by tree_classdef_block< T >::end_pos().


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