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

#include "pt-classdef.h"

Collaboration diagram for octave::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 562 of file pt-classdef.h.

Constructor & Destructor Documentation

◆ tree_classdef_enum() [1/2]

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

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

◆ tree_classdef_enum() [2/2]

octave::tree_classdef_enum::tree_classdef_enum ( const tree_classdef_enum )
delete

◆ ~tree_classdef_enum()

octave::tree_classdef_enum::~tree_classdef_enum ( void  )
inline

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

References m_expr, and m_id.

Member Function Documentation

◆ accept()

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

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

References octave::tree_walker::visit_classdef_enum().

◆ comments()

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

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

References m_comments.

◆ doc_string() [1/2]

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

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

References m_doc_string.

◆ doc_string() [2/2]

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

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

References m_doc_string.

◆ expression()

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

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

References m_expr.

◆ have_doc_string()

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

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

References m_doc_string.

◆ ident()

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

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

References m_id.

◆ operator=()

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

Member Data Documentation

◆ m_comments

comment_list* octave::tree_classdef_enum::m_comments
private

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

Referenced by comments().

◆ m_doc_string

std::string octave::tree_classdef_enum::m_doc_string
private

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

Referenced by doc_string(), and have_doc_string().

◆ m_expr

tree_expression* octave::tree_classdef_enum::m_expr
private

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

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

◆ m_id

tree_identifier* octave::tree_classdef_enum::m_id
private

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

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


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