MySQL 9.5.0
Source Code Documentation
shcore::anonymous_namespace{jit_executor_value.cc} Namespace Reference

Functions

std::string dtoa (double x)
 
std::string ftoa (float x)
 
template<class T >
auto lexical_cast (T &&data) noexcept
 
template<class T >
auto lexical_cast (std::string_view str)
 
template<class T , class S >
auto lexical_cast (S &&data)
 
template<class T , class S >
auto lexical_cast (S &&data, T default_value) noexcept
 
std::string_view skip_whitespace (std::string_view t)
 
void unicode_codepoint_to_utf8 (uint32_t uni, std::string *out)
 
std::tuple< Value, std::string_view > parse_main (std::string_view pc)
 
std::tuple< std::string, std::string_view > parse_string (std::string_view pc, char quote)
 
std::tuple< Value, std::string_view > parse_map (std::string_view pc)
 
std::tuple< Value, std::string_view > parse_array (std::string_view pc)
 
std::tuple< Value, std::string_view > parse_single_quoted_string (std::string_view pc)
 
std::tuple< Value, std::string_view > parse_double_quoted_string (std::string_view pc)
 
std::tuple< Value, std::string_view > parse_number (std::string_view pcc)
 

Variables

const bool kTypeConvertible [12][12]
 
constexpr uint32_t ascii_to_hex [256]
 Translate hex value from printable ascii character ([0-9a-zA-Z]) to decimal value. More...
 

Function Documentation

◆ dtoa()

std::string shcore::anonymous_namespace{jit_executor_value.cc}::dtoa ( double  x)

◆ ftoa()

std::string shcore::anonymous_namespace{jit_executor_value.cc}::ftoa ( float  x)

◆ lexical_cast() [1/4]

template<class T , class S >
auto shcore::anonymous_namespace{jit_executor_value.cc}::lexical_cast ( S &&  data)

◆ lexical_cast() [2/4]

template<class T , class S >
auto shcore::anonymous_namespace{jit_executor_value.cc}::lexical_cast ( S &&  data,
T  default_value 
)
noexcept

◆ lexical_cast() [3/4]

template<class T >
auto shcore::anonymous_namespace{jit_executor_value.cc}::lexical_cast ( std::string_view  str)

◆ lexical_cast() [4/4]

template<class T >
auto shcore::anonymous_namespace{jit_executor_value.cc}::lexical_cast ( T &&  data)
noexcept

◆ parse_array()

std::tuple< Value, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_array ( std::string_view  pc)

◆ parse_double_quoted_string()

std::tuple< Value, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_double_quoted_string ( std::string_view  pc)

◆ parse_main()

std::tuple< Value, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_main ( std::string_view  pc)

◆ parse_map()

std::tuple< Value, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_map ( std::string_view  pc)

◆ parse_number()

std::tuple< Value, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_number ( std::string_view  pcc)

◆ parse_single_quoted_string()

std::tuple< Value, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_single_quoted_string ( std::string_view  pc)

◆ parse_string()

std::tuple< std::string, std::string_view > shcore::anonymous_namespace{jit_executor_value.cc}::parse_string ( std::string_view  pc,
char  quote 
)

◆ skip_whitespace()

std::string_view shcore::anonymous_namespace{jit_executor_value.cc}::skip_whitespace ( std::string_view  t)

◆ unicode_codepoint_to_utf8()

void shcore::anonymous_namespace{jit_executor_value.cc}::unicode_codepoint_to_utf8 ( uint32_t  uni,
std::string *  out 
)

Variable Documentation

◆ ascii_to_hex

constexpr uint32_t shcore::anonymous_namespace{jit_executor_value.cc}::ascii_to_hex[256]
constexpr
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0,
0, 0, 0, 0, 0, 10, 11, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12,
13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

Translate hex value from printable ascii character ([0-9a-zA-Z]) to decimal value.

◆ kTypeConvertible

const bool shcore::anonymous_namespace{jit_executor_value.cc}::kTypeConvertible[12][12]
Initial value:
= {
{T, F, F, F, F, F, F, F, F, F, F, F},
{T, T, F, F, F, F, F, T, T, T, T, F},
{T, F, T, F, T, T, T, F, F, F, F, F},
{T, F, T, T, T, T, T, F, F, F, F, T},
{T, F, T, F, T, T, T, F, F, F, F, F},
{T, F, T, F, T, T, T, F, F, F, F, F},
{T, F, T, F, T, T, T, F, F, F, F, F},
{T, F, F, F, F, F, F, T, F, F, F, F},
{T, F, F, F, F, F, F, F, T, F, F, F},
{T, F, F, F, F, F, F, F, F, T, F, F},
{T, F, F, F, F, F, F, F, F, F, T, F},
{T, F, F, T, F, F, F, F, F, F, F, T},
}
#define T
Definition: jit_executor_value.cc:373
#define F
Definition: jit_executor_value.cc:374