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

#include "pt-classdef.h"

Collaboration diagram for tree_classdef_enum:

Public Member Functions

 tree_classdef_enum (const tree_classdef_enum &)=delete
 
 tree_classdef_enum (tree_identifier *i, tree_expression *e, comment_list *comments)
 
 ~tree_classdef_enum (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_enumoperator= (const tree_classdef_enum &)=delete
 

Private Attributes

comment_listm_comments
 
std::string m_doc_string
 
tree_expressionm_expr
 
tree_identifierm_id
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_classdef_enum() [1/2]

tree_classdef_enum::tree_classdef_enum ( tree_identifier i,
tree_expression e,
comment_list comments 
)

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

◆ tree_classdef_enum() [2/2]

tree_classdef_enum::tree_classdef_enum ( const tree_classdef_enum )
delete

◆ ~tree_classdef_enum()

tree_classdef_enum::~tree_classdef_enum ( void  )
inline

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

References m_expr, and m_id.

Member Function Documentation

◆ accept()

void tree_classdef_enum::accept ( tree_walker tw)
inline

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

References tree_walker::visit_classdef_enum().

◆ comments()

comment_list* tree_classdef_enum::comments ( void  ) const
inline

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

References m_comments.

◆ doc_string() [1/2]

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

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

References m_doc_string.

◆ doc_string() [2/2]

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

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

References m_doc_string.

◆ expression()

tree_expression* tree_classdef_enum::expression ( void  )
inline

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

References m_expr.

◆ have_doc_string()

bool tree_classdef_enum::have_doc_string ( void  ) const
inline

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

References m_doc_string.

◆ ident()

tree_identifier* tree_classdef_enum::ident ( void  )
inline

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

References m_id.

◆ operator=()

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

Member Data Documentation

◆ m_comments

comment_list* tree_classdef_enum::m_comments
private

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

Referenced by comments().

◆ m_doc_string

std::string tree_classdef_enum::m_doc_string
private

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

Referenced by doc_string(), and have_doc_string().

◆ m_expr

tree_expression* tree_classdef_enum::m_expr
private

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

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

◆ m_id

tree_identifier* tree_classdef_enum::m_id
private

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

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


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