GNU Octave  9.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"

Public Member Functions

 tree_classdef_property (tree_arg_validation *av, comment_list *comments=nullptr)
 
 ~tree_classdef_property ()
 
void accept (tree_walker &tw)
 
comment_listcomments () const
 
std::string doc_string () const
 
void doc_string (const std::string &txt)
 
tree_expressionexpression ()
 
bool have_doc_string () const
 
tree_identifierident ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ tree_classdef_property()

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

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

◆ ~tree_classdef_property()

tree_classdef_property::~tree_classdef_property ( )

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

Member Function Documentation

◆ accept()

void tree_classdef_property::accept ( tree_walker tw)
inline

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

References tree_walker::visit_classdef_property().

◆ comments()

comment_list* tree_classdef_property::comments ( ) const
inline

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

◆ doc_string() [1/2]

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

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

◆ doc_string() [2/2]

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

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

Referenced by base_parser::make_classdef_properties_block().

◆ expression()

tree_expression * tree_classdef_property::expression ( )

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

References tree_arg_validation::initializer_expression().

◆ have_doc_string()

bool tree_classdef_property::have_doc_string ( ) const
inline

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

Referenced by base_parser::make_classdef_properties_block().

◆ ident()

tree_identifier * tree_classdef_property::ident ( )

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

References tree_arg_validation::identifier_expression().


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