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

#include "pt-classdef.h"

Collaboration diagram for tree_classdef_attribute:

Public Member Functions

 tree_classdef_attribute (const tree_classdef_attribute &)=delete
 
 tree_classdef_attribute (tree_identifier *i, bool b)
 
 tree_classdef_attribute (tree_identifier *i=nullptr, tree_expression *e=nullptr)
 
 ~tree_classdef_attribute (void)
 
void accept (tree_walker &tw)
 
tree_expressionexpression (void)
 
tree_identifierident (void)
 
bool negate (void)
 
tree_classdef_attributeoperator= (const tree_classdef_attribute &)=delete
 

Private Attributes

tree_expressionm_expr
 
tree_identifierm_id
 
bool m_neg
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_classdef_attribute() [1/3]

tree_classdef_attribute::tree_classdef_attribute ( tree_identifier i = nullptr,
tree_expression e = nullptr 
)
inline

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

◆ tree_classdef_attribute() [2/3]

tree_classdef_attribute::tree_classdef_attribute ( tree_identifier i,
bool  b 
)
inline

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

◆ tree_classdef_attribute() [3/3]

tree_classdef_attribute::tree_classdef_attribute ( const tree_classdef_attribute )
delete

◆ ~tree_classdef_attribute()

tree_classdef_attribute::~tree_classdef_attribute ( void  )
inline

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

References m_expr, and m_id.

Member Function Documentation

◆ accept()

void tree_classdef_attribute::accept ( tree_walker tw)
inline

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

References tree_walker::visit_classdef_attribute().

◆ expression()

tree_expression* tree_classdef_attribute::expression ( void  )
inline

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

References m_expr.

Referenced by compute_attribute_value(), and tree_walker::visit_classdef_attribute().

◆ ident()

tree_identifier* tree_classdef_attribute::ident ( void  )
inline

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

References m_id.

Referenced by tree_walker::visit_classdef_attribute().

◆ negate()

bool tree_classdef_attribute::negate ( void  )
inline

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

References m_neg.

◆ operator=()

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

Member Data Documentation

◆ m_expr

tree_expression* tree_classdef_attribute::m_expr
private

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

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

◆ m_id

tree_identifier* tree_classdef_attribute::m_id
private

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

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

◆ m_neg

bool tree_classdef_attribute::m_neg
private

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

Referenced by negate().


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