|
libxr
1.0
Want to be the best embedded framework
|
Compile-time printf frontend that parses and lowers one source string. More...
#include <printf_frontend_detail.hpp>
Public Types | |
| using | ErrorType = Printf::Error |
Static Public Member Functions | |
| static constexpr const char * | SourceData () |
| Returns the underlying source bytes without the terminating zero byte. / 返回去掉结尾零字节后的源字符串数据 | |
| static constexpr size_t | SourceSize () |
| Returns the source length without the terminating zero byte. / 返回去掉结尾零字节后的源字符串长度 | |
| static consteval ErrorType | Walk (auto &visitor) |
| Walks normalized text spans and value fields in source order. / 按源串顺序遍历归一化后的文本片段和字段 | |
Compile-time printf frontend that parses and lowers one source string.
单个 printf 源字符串的编译期前端,负责解析并降为共享格式语义。
Definition at line 1070 of file printf_frontend_detail.hpp.
| using LibXR::Print::Printf::Compiler< Source >::ErrorType = Printf::Error |
Definition at line 1073 of file printf_frontend_detail.hpp.
|
inlinestaticnodiscardconstexpr |
Returns the underlying source bytes without the terminating zero byte. / 返回去掉结尾零字节后的源字符串数据
Definition at line 1076 of file printf_frontend_detail.hpp.
|
inlinestaticnodiscardconstexpr |
Returns the source length without the terminating zero byte. / 返回去掉结尾零字节后的源字符串长度
Definition at line 1078 of file printf_frontend_detail.hpp.
|
inlinestaticnodiscardconsteval |
Walks normalized text spans and value fields in source order. / 按源串顺序遍历归一化后的文本片段和字段
Definition at line 1081 of file printf_frontend_detail.hpp.