GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
tree_classdef_block< T > Class Template Reference

#include "pt-classdef.h"

Inheritance diagram for tree_classdef_block< T >:
tree_base_classdef_block tree

Public Member Functions

 tree_classdef_block (const token &block_tok, tree_classdef_attribute_list *a, T *elt_list, const token &end_tok)
 
 ~tree_classdef_block ()
 
filepos beg_pos () const
 
T * element_list ()
 
filepos end_pos () const
 
comment_list leading_comments () const
 
comment_list trailing_comments () const
 
- Public Member Functions inherited from tree_base_classdef_block
 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 ()
 
token block_token () const
 
token end_token () const
 
- 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 int line () const
 
bool meets_bp_condition (tree_evaluator &tw) const
 
virtual void set_breakpoint (const std::string &condition)
 
std::string str_print_code ()
 

Additional Inherited Members

- Protected Attributes inherited from tree_base_classdef_block
tree_classdef_attribute_listm_attr_list
 
token m_block_tok
 
token m_end_tok
 

Detailed Description

template<typename T>
class tree_classdef_block< T >

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

Constructor & Destructor Documentation

◆ tree_classdef_block()

template<typename T >
tree_classdef_block< T >::tree_classdef_block ( const token block_tok,
tree_classdef_attribute_list a,
T *  elt_list,
const token end_tok 
)
inline

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

◆ ~tree_classdef_block()

template<typename T >
tree_classdef_block< T >::~tree_classdef_block ( )
inline

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

Member Function Documentation

◆ beg_pos()

template<typename T >
filepos tree_classdef_block< T >::beg_pos ( ) const
inlinevirtual

Implements tree.

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

References token::beg_pos(), and tree_base_classdef_block::m_block_tok.

◆ element_list()

template<typename T >
T * tree_classdef_block< T >::element_list ( )
inline

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

◆ end_pos()

template<typename T >
filepos tree_classdef_block< T >::end_pos ( ) const
inlinevirtual

Implements tree.

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

References token::end_pos(), and tree_base_classdef_block::m_end_tok.

◆ leading_comments()

template<typename T >
comment_list tree_classdef_block< T >::leading_comments ( ) const
inlinevirtual

Reimplemented from tree_base_classdef_block.

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

References token::leading_comments(), and tree_base_classdef_block::m_block_tok.

◆ trailing_comments()

template<typename T >
comment_list tree_classdef_block< T >::trailing_comments ( ) const
inlinevirtual

Implements tree.

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

References tree_base_classdef_block::m_end_tok, and token::trailing_comments().


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