openMSX
Classes | Functions | Variables
rapidsax::internal Namespace Reference

Classes

struct  AttPred1
 
struct  AttPred2
 
struct  AttPurePred1
 
struct  AttPurePred2
 
struct  AttributeNamePred
 
struct  NodeNamePred
 
class  Parser
 
struct  TextPred
 
struct  TextPureNoWsPred
 
struct  TextPureWithWsPred
 
struct  WhitespacePred
 

Functions

void insertUTF8char (char *&text, uint32_t code)
 
void skipBOM (char *&text)
 

Variables

constexpr std::array< const uint8_t, 256 > lutChar
 
constexpr std::array< const uint8_t, 256 > lutDigits
 

Function Documentation

◆ insertUTF8char()

void rapidsax::internal::insertUTF8char ( char *&  text,
uint32_t  code 
)
inline

Definition at line 230 of file rapidsax.hh.

◆ skipBOM()

void rapidsax::internal::skipBOM ( char *&  text)
inline

Definition at line 391 of file rapidsax.hh.

Referenced by rapidsax::internal::Parser< FLAGS, HANDLER >::Parser().

Variable Documentation

◆ lutChar

constexpr std::array<const uint8_t, 256> rapidsax::internal::lutChar
inlineconstexpr
Initial value:
=
{
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x02,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x02,0x80,0x20,0x00,0x00,0x00,0x08,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x80,0x40,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
}

Definition at line 134 of file rapidsax.hh.

Referenced by rapidsax::internal::WhitespacePred::test(), rapidsax::internal::NodeNamePred::test(), rapidsax::internal::AttributeNamePred::test(), rapidsax::internal::TextPred::test(), rapidsax::internal::TextPureNoWsPred::test(), rapidsax::internal::TextPureWithWsPred::test(), rapidsax::internal::AttPred1::test(), rapidsax::internal::AttPred2::test(), rapidsax::internal::AttPurePred1::test(), and rapidsax::internal::AttPurePred2::test().

◆ lutDigits

constexpr std::array<const uint8_t, 256> rapidsax::internal::lutDigits
inlineconstexpr
Initial value:
=
{
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,255,255,255,255,255,255,
255, 10, 11, 12, 13, 14, 15,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255, 10, 11, 12, 13, 14, 15,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
}

Definition at line 156 of file rapidsax.hh.