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

#include "settings.h"

Collaboration diagram for 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
 
std::size_t token_count (void) const
 

Private Attributes

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

Detailed Description

Definition at line 44 of file settings.h.

Constructor & Destructor Documentation

◆ settings() [1/2]

settings::settings ( void  )

Definition at line 39 of file settings.cc.

◆ settings() [2/2]

settings::settings ( const settings )
delete

◆ ~settings()

settings::~settings ( void  )
default

Member Function Documentation

◆ display_tokens() [1/3]

bool settings::display_tokens ( bool  flag)
inline

Definition at line 60 of file settings.h.

◆ display_tokens() [2/3]

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

Definition at line 44 of file settings.cc.

References m_display_tokens, and set_internal_variable().

Referenced by base_lexer::display_tokens(), and F__display_tokens__().

◆ display_tokens() [3/3]

bool settings::display_tokens ( void  ) const
inline

Definition at line 58 of file settings.h.

◆ increment_token_count()

void settings::increment_token_count ( void  )
inline

Definition at line 70 of file settings.h.

Referenced by base_lexer::increment_token_count().

◆ lexer_debug_flag() [1/3]

bool settings::lexer_debug_flag ( bool  flag)
inline

Definition at line 76 of file settings.h.

◆ lexer_debug_flag() [2/3]

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

Definition at line 51 of file settings.cc.

References m_lexer_debug_flag, and set_internal_variable().

Referenced by base_lexer::debug_flag(), and F__lexer_debug_flag__().

◆ lexer_debug_flag() [3/3]

bool settings::lexer_debug_flag ( void  ) const
inline

Definition at line 74 of file settings.h.

◆ operator=()

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

◆ token_count()

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

Definition at line 68 of file settings.h.

Referenced by F__token_count__().

Member Data Documentation

◆ m_display_tokens

bool settings::m_display_tokens = false
private

Definition at line 86 of file settings.h.

Referenced by display_tokens().

◆ m_lexer_debug_flag

bool settings::m_lexer_debug_flag = false
private

Definition at line 92 of file settings.h.

Referenced by lexer_debug_flag().

◆ m_token_count

std::size_t settings::m_token_count = 0
private

Definition at line 89 of file settings.h.


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