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

#include "settings.h"

Collaboration diagram for octave::settings:

Public Member Functions

 settings (const settings &)=delete
 
 settings (void)
 
 ~settings (void)=default
 
bool display_tokens (bool flag)
 
octave_value display_tokens (const octave_value_list &args, int nargout)
 
bool display_tokens (void) const
 
void increment_token_count (void)
 
bool lexer_debug_flag (bool flag)
 
octave_value lexer_debug_flag (const octave_value_list &args, int nargout)
 
bool lexer_debug_flag (void) const
 
settingsoperator= (const settings &)=delete
 
size_t token_count (void) const
 

Private Attributes

bool m_display_tokens = false
 
bool m_lexer_debug_flag = false
 
size_t m_token_count = 0
 

Detailed Description

Definition at line 44 of file settings.h.

Constructor & Destructor Documentation

◆ settings() [1/2]

octave::settings::settings ( void  )

Definition at line 39 of file settings.cc.

◆ settings() [2/2]

octave::settings::settings ( const settings )
delete

◆ ~settings()

octave::settings::~settings ( void  )
default

Member Function Documentation

◆ display_tokens() [1/3]

bool octave::settings::display_tokens ( bool  flag)
inline

Definition at line 60 of file settings.h.

References m_display_tokens.

◆ display_tokens() [2/3]

octave_value octave::settings::display_tokens ( const octave_value_list args,
int  nargout 
)

◆ display_tokens() [3/3]

bool octave::settings::display_tokens ( void  ) const
inline

Definition at line 58 of file settings.h.

References m_display_tokens.

◆ increment_token_count()

void octave::settings::increment_token_count ( void  )
inline

Definition at line 70 of file settings.h.

References m_token_count.

Referenced by octave::base_lexer::increment_token_count().

◆ lexer_debug_flag() [1/3]

bool octave::settings::lexer_debug_flag ( bool  flag)
inline

Definition at line 76 of file settings.h.

References m_lexer_debug_flag.

◆ lexer_debug_flag() [2/3]

octave_value octave::settings::lexer_debug_flag ( const octave_value_list args,
int  nargout 
)

◆ lexer_debug_flag() [3/3]

bool octave::settings::lexer_debug_flag ( void  ) const
inline

Definition at line 74 of file settings.h.

References m_lexer_debug_flag.

◆ operator=()

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

◆ token_count()

size_t octave::settings::token_count ( void  ) const
inline

Definition at line 68 of file settings.h.

References m_token_count.

Referenced by F__token_count__().

Member Data Documentation

◆ m_display_tokens

bool octave::settings::m_display_tokens = false
private

Definition at line 86 of file settings.h.

Referenced by display_tokens().

◆ m_lexer_debug_flag

bool octave::settings::m_lexer_debug_flag = false
private

Definition at line 92 of file settings.h.

Referenced by lexer_debug_flag().

◆ m_token_count

size_t octave::settings::m_token_count = 0
private

Definition at line 89 of file settings.h.

Referenced by increment_token_count(), and token_count().


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