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

#include "txt-eng.h"

Inheritance diagram for text_element_symbol:
Collaboration diagram for text_element_symbol:

Public Types

enum  { invalid_code = 0xFFFFFFFFU }
 

Public Member Functions

 text_element_symbol (int sym)
 
 ~text_element_symbol (void)=default
 
void accept (text_processor &p)
 
int get_symbol (void) const
 
uint32_t get_symbol_code (void) const
 

Private Attributes

int symbol
 

Detailed Description

Definition at line 85 of file txt-eng.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
invalid_code 

Definition at line 90 of file txt-eng.h.

Constructor & Destructor Documentation

◆ text_element_symbol()

text_element_symbol::text_element_symbol ( int  sym)
inline

Definition at line 93 of file txt-eng.h.

◆ ~text_element_symbol()

text_element_symbol::~text_element_symbol ( void  )
default

Member Function Documentation

◆ accept()

void text_element_symbol::accept ( text_processor p)
inlinevirtual

Implements text_element.

Definition at line 362 of file txt-eng.h.

◆ get_symbol()

int text_element_symbol::get_symbol ( void  ) const
inline

Definition at line 98 of file txt-eng.h.

◆ get_symbol_code()

uint32_t text_element_symbol::get_symbol_code ( void  ) const

Definition at line 31 of file txt-eng.cc.

References code, invalid_code, and symbol.

Member Data Documentation

◆ symbol

int text_element_symbol::symbol
private

Definition at line 105 of file txt-eng.h.

Referenced by get_symbol_code().


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