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

#include "text-engine.h"

Inheritance diagram for text_element_symbol:
text_element

Public Types

enum  { invalid_code = 0xFFFFFFFFU }
 

Public Member Functions

 text_element_symbol ()=delete
 
 text_element_symbol (int sym)
 
void accept (text_processor &p)
 
int get_symbol () const
 
uint32_t get_symbol_code () const
 
- Public Member Functions inherited from text_element
virtual ~text_element ()=default
 

Detailed Description

Definition at line 87 of file text-engine.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
invalid_code 

Definition at line 93 of file text-engine.h.

Constructor & Destructor Documentation

◆ text_element_symbol() [1/2]

text_element_symbol::text_element_symbol ( )
delete

◆ text_element_symbol() [2/2]

text_element_symbol::text_element_symbol ( int  sym)
inline

Definition at line 97 of file text-engine.h.

Member Function Documentation

◆ accept()

void text_element_symbol::accept ( text_processor p)
inlinevirtual

Implements text_element.

Definition at line 382 of file text-engine.h.

◆ get_symbol()

int text_element_symbol::get_symbol ( ) const
inline

Definition at line 102 of file text-engine.h.

◆ get_symbol_code()

uint32_t text_element_symbol::get_symbol_code ( ) const

Definition at line 36 of file text-engine.cc.

References invalid_code.


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