bux API Reference 1.12.3
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 51 of file ScannerBase.h.

Member Function Documentation

◆ appendUTF8()

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

Definition at line 53 of file ScannerBase.h.

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

◆ columnsInDisplay()

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

Definition at line 57 of file ScannerBase.h.

◆ id()

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

Definition at line 65 of file ScannerBase.h.

Referenced by setId().

Here is the caller graph for this function:

◆ read()

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

Definition at line 69 of file ScannerBase.h.

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

◆ setId()

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

Definition at line 73 of file ScannerBase.h.

References id().


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