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

#include "pt-classdef.h"

Collaboration diagram for tree_classdef_property:

Public Member Functions

 tree_classdef_property (const tree_classdef_property &)=delete
 
 tree_classdef_property (tree_arg_validation *av, 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

tree_arg_validationm_av
 
comment_listm_comments
 
std::string m_doc_string
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_classdef_property() [1/2]

tree_classdef_property::tree_classdef_property ( tree_arg_validation av,
comment_list comments = nullptr 
)

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

◆ tree_classdef_property() [2/2]

tree_classdef_property::tree_classdef_property ( const tree_classdef_property )
delete

◆ ~tree_classdef_property()

tree_classdef_property::~tree_classdef_property ( void  )

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

References m_av.

Member Function Documentation

◆ accept()

void tree_classdef_property::accept ( tree_walker tw)
inline

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

References tree_walker::visit_classdef_property().

◆ comments()

comment_list* tree_classdef_property::comments ( void  ) const
inline

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

References m_comments.

◆ doc_string() [1/2]

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

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

References m_doc_string.

Referenced by base_parser::make_classdef_properties_block().

◆ doc_string() [2/2]

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

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

References m_doc_string.

◆ expression()

tree_expression * tree_classdef_property::expression ( void  )

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

References tree_arg_validation::initializer_expression(), and m_av.

◆ have_doc_string()

bool tree_classdef_property::have_doc_string ( void  ) const
inline

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

References m_doc_string.

Referenced by base_parser::make_classdef_properties_block().

◆ ident()

tree_identifier * tree_classdef_property::ident ( void  )

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

References tree_arg_validation::identifier_expression(), and m_av.

◆ operator=()

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

Member Data Documentation

◆ m_av

tree_arg_validation* tree_classdef_property::m_av
private

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

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

◆ m_comments

comment_list* tree_classdef_property::m_comments
private

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

Referenced by comments().

◆ m_doc_string

std::string tree_classdef_property::m_doc_string
private

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

Referenced by doc_string(), and have_doc_string().


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