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

#include "pt-classdef.h"

Collaboration diagram for octave::tree_classdef_attribute:

Public Member Functions

 tree_classdef_attribute (tree_identifier *i=nullptr, tree_expression *e=nullptr)
 
 tree_classdef_attribute (tree_identifier *i, bool b)
 
 tree_classdef_attribute (const tree_classdef_attribute &)=delete
 
 ~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 44 of file pt-classdef.h.

Constructor & Destructor Documentation

◆ tree_classdef_attribute() [1/3]

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

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

◆ tree_classdef_attribute() [2/3]

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

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

◆ tree_classdef_attribute() [3/3]

octave::tree_classdef_attribute::tree_classdef_attribute ( const tree_classdef_attribute )
delete

◆ ~tree_classdef_attribute()

octave::tree_classdef_attribute::~tree_classdef_attribute ( void  )
inline

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

References m_expr, and m_id.

Member Function Documentation

◆ accept()

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

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

References octave::tree_walker::visit_classdef_attribute().

◆ expression()

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

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

References m_expr.

◆ ident()

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

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

References m_id.

◆ negate()

bool octave::tree_classdef_attribute::negate ( void  )
inline

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

References m_neg.

◆ operator=()

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

Member Data Documentation

◆ m_expr

tree_expression* octave::tree_classdef_attribute::m_expr
private

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

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

◆ m_id

tree_identifier* octave::tree_classdef_attribute::m_id
private

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

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

◆ m_neg

bool octave::tree_classdef_attribute::m_neg
private

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

Referenced by negate().


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