|
libxr
1.0
Want to be the best embedded framework
|
单个 printf 转换在降为共享格式前的解析结果 / One parsed printf conversion before lowering into the shared format More...
#include <printf_frontend_spec.hpp>
Public Member Functions | |
| constexpr uint8_t | FlagsByte () const |
将前端解析出的标志位打包成共享的 FormatFlag 字节 / Pack the parsed frontend flags into the shared FormatFlag byte | |
| constexpr uint8_t | PrecisionByte () const |
返回共享精度字节;若未显式指定精度则为 0xFF / Return the shared precision byte, or 0xFF when precision is absent | |
Data Fields | |
| size_t | arg_index = 0 |
| source argument index consumed by this field / 当前字段消耗的源参数索引 | |
| ValueKind | type = ValueKind::None |
| semantic conversion category / 转换项归一化后的语义类别 | |
| Length | length = Length::Default |
| parsed length modifier / 已解析的长度修饰符 | |
| bool | left_align = false |
| parsed - flag / 已解析的 - 标志 | |
| bool | force_sign = false |
| parsed + flag / 已解析的 + 标志 | |
| bool | space_sign = false |
| parsed space-sign flag / 已解析的空格正号标志 | |
| bool | alternate = false |
| parsed # flag / 已解析的 # 标志 | |
| bool | zero_pad = false |
| parsed 0 flag / 已解析的 0 标志 | |
| bool | upper_case = false |
| implied uppercase output / 隐含的大写输出标志 | |
| bool | positional = false |
| whether arg_index came from n$ syntax / arg_index 是否来自 n$ 语法 | |
| uint8_t | width = 0 |
| parsed field width / 已解析的字段宽度 | |
| bool | has_precision = false |
| whether precision was explicitly provided / 是否显式提供了精度 | |
| uint8_t | precision = 0 |
| parsed precision value / 已解析的精度值 | |
单个 printf 转换在降为共享格式前的解析结果 / One parsed printf conversion before lowering into the shared format
Definition at line 32 of file printf_frontend_spec.hpp.
|
inlinenodiscardconstexpr |
将前端解析出的标志位打包成共享的 FormatFlag 字节 / Pack the parsed frontend flags into the shared FormatFlag byte
FormatFlag 字节 / Returns the packed shared FormatFlag byte Definition at line 52 of file printf_frontend_spec.hpp.
|
inlinenodiscardconstexpr |
返回共享精度字节;若未显式指定精度则为 0xFF / Return the shared precision byte, or 0xFF when precision is absent
Definition at line 86 of file printf_frontend_spec.hpp.
| bool Conversion::alternate = false |
parsed # flag / 已解析的 # 标志
Definition at line 40 of file printf_frontend_spec.hpp.
| size_t Conversion::arg_index = 0 |
source argument index consumed by this field / 当前字段消耗的源参数索引
Definition at line 34 of file printf_frontend_spec.hpp.
| bool Conversion::force_sign = false |
parsed + flag / 已解析的 + 标志
Definition at line 38 of file printf_frontend_spec.hpp.
| bool Conversion::has_precision = false |
whether precision was explicitly provided / 是否显式提供了精度
Definition at line 45 of file printf_frontend_spec.hpp.
| bool Conversion::left_align = false |
parsed - flag / 已解析的 - 标志
Definition at line 37 of file printf_frontend_spec.hpp.
| Length Conversion::length = Length::Default |
parsed length modifier / 已解析的长度修饰符
Definition at line 36 of file printf_frontend_spec.hpp.
| bool Conversion::positional = false |
whether arg_index came from n$ syntax / arg_index 是否来自 n$ 语法
Definition at line 43 of file printf_frontend_spec.hpp.
| uint8_t Conversion::precision = 0 |
parsed precision value / 已解析的精度值
Definition at line 46 of file printf_frontend_spec.hpp.
| bool Conversion::space_sign = false |
parsed space-sign flag / 已解析的空格正号标志
Definition at line 39 of file printf_frontend_spec.hpp.
| ValueKind Conversion::type = ValueKind::None |
semantic conversion category / 转换项归一化后的语义类别
Definition at line 35 of file printf_frontend_spec.hpp.
| bool Conversion::upper_case = false |
implied uppercase output / 隐含的大写输出标志
Definition at line 42 of file printf_frontend_spec.hpp.
| uint8_t Conversion::width = 0 |
parsed field width / 已解析的字段宽度
Definition at line 44 of file printf_frontend_spec.hpp.
| bool Conversion::zero_pad = false |
parsed 0 flag / 已解析的 0 标志
Definition at line 41 of file printf_frontend_spec.hpp.