jaulib v1.3.8
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::lang::ascii26_alphabet Class Reference

Case insensitive ASCII base 26 alphabet with ASCII code-point sorting order. More...

#include <token_fsm.hpp>

Inheritance diagram for jau::lang::ascii26_alphabet:
Collaboration diagram for jau::lang::ascii26_alphabet:

Public Member Functions

 ascii26_alphabet () noexcept
 
- Public Member Functions inherited from jau::lang::alphabet
 alphabet (std::string _name, code_point_t _base, code_point_func _cpf) noexcept
 
constexpr code_point_t base () const noexcept
 The fixed base used for this alphabet, i.e.
 
constexpr code_point_t code_point (const char c) const noexcept
 Returns the token of the given character or code_error if not element of this alphabet.
 
constexpr const std::string & name () const noexcept
 Human readable name for this alphabet instance.
 
std::string to_string () const noexcept
 

Additional Inherited Members

- Public Types inherited from jau::lang::alphabet
typedef code_point_t(* code_point_func) (const char c) noexcept
 
typedef uint16_t code_point_t
 Unsigned int symbol for alphabet code-point type.
 
- Static Public Attributes inherited from jau::lang::alphabet
static constexpr const code_point_t code_error = std::numeric_limits<code_point_t>::max()
 token_error value, denoting an invalid alphabet code-point.
 

Detailed Description

Case insensitive ASCII base 26 alphabet with ASCII code-point sorting order.

Properties

  • Base 26, i.e. ASCII [65 .. 90], merging lower- and capital-letters
  • 7-bit ASCII
  • Code page 437 compatible
  • Supporting ASCII code-point sorting.
  • Order: A < Z

Definition at line 188 of file token_fsm.hpp.

Constructor & Destructor Documentation

◆ ascii26_alphabet()

jau::lang::ascii26_alphabet::ascii26_alphabet ( )
inlinenoexcept

Definition at line 201 of file token_fsm.hpp.


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