bux API Reference 1.11.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
 
static void appendUTF8 (std::string &u8s, const C_LexUTF32 &ch)
 
static unsigned columnsInDisplay (const C_LexUTF32 &ch)
 
static T_LexID id (const C_LexUTF32 &ch)
 
static bool read (C_UnicodeIn &uin, C_LexUTF32 &ch)
 
static void setId (C_LexUTF32 &ch, T_LexID id)
 

Detailed Description

Definition at line 50 of file ScannerBase.h.

Member Function Documentation

◆ appendUTF8() [1/2]

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().

◆ appendUTF8() [2/2]

static void bux::C_LexTraits< C_LexUTF32 >::appendUTF8 ( std::string & u8s,
const C_LexUTF32 & ch )
static

◆ columnsInDisplay() [1/2]

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

Definition at line 56 of file ScannerBase.h.

◆ columnsInDisplay() [2/2]

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

◆ id() [1/2]

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

Definition at line 64 of file ScannerBase.h.

Referenced by setId().

Here is the caller graph for this function:

◆ id() [2/2]

static T_LexID bux::C_LexTraits< C_LexUTF32 >::id ( const C_LexUTF32 & ch)
static

◆ read() [1/2]

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

◆ read() [2/2]

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() [1/2]

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

◆ setId() [2/2]

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

Definition at line 72 of file ScannerBase.h.

References id().


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