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

brace 字段自动索引与手动索引的源级状态 / Source-level indexing mode for automatic versus manual brace fields More...

#include <format_frontend_parser.hpp>

Public Attributes

bool uses_manual = false
 正在使用手动编号 / manual field numbering is in use
 
bool uses_auto = false
 正在使用自动编号 / automatic field numbering is in use
 
size_t next_auto_index = 0
 下一个自动参数索引 / next automatic argument index
 
bool uses_positional
 至少有一个转换使用了 n$ 语法 / at least one conversion used n$ syntax
 
bool uses_sequential = false
 
size_t next_index = 0
 下一个顺序参数索引 / next sequential argument index
 

Detailed Description

brace 字段自动索引与手动索引的源级状态 / Source-level indexing mode for automatic versus manual brace fields

源级位置参数或顺序参数索引状态 / Source-level positional or sequential indexing state

Definition at line 143 of file format_frontend_parser.hpp.

Member Data Documentation

◆ next_auto_index

size_t IndexingState::next_auto_index = 0

下一个自动参数索引 / next automatic argument index

Definition at line 147 of file format_frontend_parser.hpp.

◆ next_index

size_t IndexingState::next_index = 0

下一个顺序参数索引 / next sequential argument index

Definition at line 14 of file printf_frontend_parse_util.hpp.

◆ uses_auto

bool IndexingState::uses_auto = false

正在使用自动编号 / automatic field numbering is in use

Definition at line 146 of file format_frontend_parser.hpp.

◆ uses_manual

bool IndexingState::uses_manual = false

正在使用手动编号 / manual field numbering is in use

Definition at line 145 of file format_frontend_parser.hpp.

◆ uses_positional

bool IndexingState::uses_positional
Initial value:
=
false

至少有一个转换使用了 n$ 语法 / at least one conversion used n$ syntax

Definition at line 9 of file printf_frontend_parse_util.hpp.

◆ uses_sequential

bool IndexingState::uses_sequential = false

至少有一个转换使用了隐式顺序参数 at least one conversion used implicit sequential order

Definition at line 11 of file printf_frontend_parse_util.hpp.


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