GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::tree_classdef_property Class Reference

#include "pt-classdef.h"

Collaboration diagram for octave::tree_classdef_property:

Public Member Functions

 tree_classdef_property (const tree_classdef_property &)=delete
 
 tree_classdef_property (tree_identifier *i, comment_list *comments=nullptr)
 
 tree_classdef_property (tree_identifier *i, tree_expression *e, comment_list *comments=nullptr)
 
 ~tree_classdef_property (void)
 
void accept (tree_walker &tw)
 
comment_listcomments (void) const
 
void doc_string (const std::string &txt)
 
std::string doc_string (void) const
 
tree_expressionexpression (void)
 
bool have_doc_string (void) const
 
tree_identifierident (void)
 
tree_classdef_propertyoperator= (const tree_classdef_property &)=delete
 

Private Attributes

comment_listm_comments
 
std::string m_doc_string
 
tree_expressionm_expr
 
tree_identifierm_id
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_classdef_property() [1/3]

octave::tree_classdef_property::tree_classdef_property ( tree_identifier i,
comment_list comments = nullptr 
)

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

◆ tree_classdef_property() [2/3]

octave::tree_classdef_property::tree_classdef_property ( tree_identifier i,
tree_expression e,
comment_list comments = nullptr 
)

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

◆ tree_classdef_property() [3/3]

octave::tree_classdef_property::tree_classdef_property ( const tree_classdef_property )
delete

◆ ~tree_classdef_property()

octave::tree_classdef_property::~tree_classdef_property ( void  )
inline

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

References m_expr, and m_id.

Member Function Documentation

◆ accept()

void octave::tree_classdef_property::accept ( tree_walker tw)
inline

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

References octave::tree_walker::visit_classdef_property().

◆ comments()

comment_list* octave::tree_classdef_property::comments ( void  ) const
inline

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

References m_comments.

◆ doc_string() [1/2]

void octave::tree_classdef_property::doc_string ( const std::string &  txt)
inline

◆ doc_string() [2/2]

std::string octave::tree_classdef_property::doc_string ( void  ) const
inline

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

References m_doc_string.

◆ expression()

tree_expression* octave::tree_classdef_property::expression ( void  )
inline

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

References m_expr.

◆ have_doc_string()

bool octave::tree_classdef_property::have_doc_string ( void  ) const
inline

◆ ident()

tree_identifier* octave::tree_classdef_property::ident ( void  )
inline

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

References m_id.

◆ operator=()

tree_classdef_property& octave::tree_classdef_property::operator= ( const tree_classdef_property )
delete

Member Data Documentation

◆ m_comments

comment_list* octave::tree_classdef_property::m_comments
private

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

Referenced by comments().

◆ m_doc_string

std::string octave::tree_classdef_property::m_doc_string
private

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

Referenced by doc_string(), and have_doc_string().

◆ m_expr

tree_expression* octave::tree_classdef_property::m_expr
private

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

Referenced by ~tree_classdef_property(), and expression().

◆ m_id

tree_identifier* octave::tree_classdef_property::m_id
private

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

Referenced by ~tree_classdef_property(), and ident().


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