bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
bux::C_LexTraits< C_LexUTF32 > Struct Reference

#include <ScannerBase.h>

Static Public Member Functions

static void appendUTF8 (std::string &u8, C_LexUTF32 src)
 
static unsigned columnsInDisplay (C_LexUTF32 ch) noexcept
 
static constexpr auto id (C_LexUTF32 ch) noexcept
 
static bool read (C_UnicodeIn &uin, C_LexUTF32 &ch)
 
static void setId (C_LexUTF32 &ch, T_LexID id) noexcept
 

Detailed Description

Definition at line 50 of file ScannerBase.h.

Member Function Documentation

◆ appendUTF8()

static void bux::C_LexTraits< C_LexUTF32 >::appendUTF8 ( std::string & u8,
C_LexUTF32 src )
inlinestatic

Definition at line 52 of file ScannerBase.h.

References bux::C_LexUTF32::m_U32, and bux::to_utf8().

◆ columnsInDisplay()

static unsigned bux::C_LexTraits< C_LexUTF32 >::columnsInDisplay ( C_LexUTF32 ch)
inlinestaticnoexcept

Definition at line 56 of file ScannerBase.h.

◆ id()

static constexpr auto bux::C_LexTraits< C_LexUTF32 >::id ( C_LexUTF32 ch)
inlinestaticconstexprnoexcept

Definition at line 64 of file ScannerBase.h.

◆ read()

static bool bux::C_LexTraits< C_LexUTF32 >::read ( C_UnicodeIn & uin,
C_LexUTF32 & ch )
inlinestatic

Definition at line 68 of file ScannerBase.h.

References bux::C_UnicodeIn::get(), and bux::C_LexUTF32::m_U32.

◆ setId()

static void bux::C_LexTraits< C_LexUTF32 >::setId ( C_LexUTF32 & ch,
T_LexID id )
inlinestaticnoexcept

Definition at line 72 of file ScannerBase.h.

References bux::C_LexTraits< T_LexCh >::id().


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