libxr
Embedded C++ framework for bare-metal, RTOS and Linux
Loading...
Searching...
No Matches
SpecifierDescriptor Struct Reference

单个源级 printf 说明符描述项 / One source-level printf specifier descriptor More...

#include <printf_frontend_spec.hpp>

Public Attributes

char token = 0
 源格式转换字符 / source conversion character
 
ValueKind type
 归一化后的语义类别 / normalized semantic category
 
FeatureGate gate = FeatureGate::Integer
 
LengthPolicy length_policy
 允许的长度修饰类别 / accepted length family
 
bool upper_case
 说明符是否隐含大写输出 / whether the specifier implies uppercase output
 

Detailed Description

单个源级 printf 说明符描述项 / One source-level printf specifier descriptor

Definition at line 131 of file printf_frontend_spec.hpp.

Member Data Documentation

◆ gate

FeatureGate SpecifierDescriptor::gate = FeatureGate::Integer

控制该说明符的功能开关 feature gate controlling this specifier

Definition at line 136 of file printf_frontend_spec.hpp.

◆ length_policy

LengthPolicy SpecifierDescriptor::length_policy
Initial value:
=
LengthPolicy::NoneOnly

允许的长度修饰类别 / accepted length family

Definition at line 138 of file printf_frontend_spec.hpp.

◆ token

char SpecifierDescriptor::token = 0

源格式转换字符 / source conversion character

Definition at line 133 of file printf_frontend_spec.hpp.

◆ type

ValueKind SpecifierDescriptor::type
Initial value:
=
ValueKind::None

归一化后的语义类别 / normalized semantic category

Definition at line 134 of file printf_frontend_spec.hpp.

◆ upper_case

bool SpecifierDescriptor::upper_case
Initial value:
=
false

说明符是否隐含大写输出 / whether the specifier implies uppercase output

Definition at line 140 of file printf_frontend_spec.hpp.


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