Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields | Static Public Attributes
error_builder Struct Reference

Public Member Functions

TOML_NODISCARD_CTOR error_builder (std::string_view scope) noexcept
 
template<typename T >
void append (const T &arg) noexcept
 
TOML_RETURNS_BY_THROWING auto finish (const source_position &pos, const source_path_ptr &source_path) const
 
 TOML_DELETE_DEFAULTS (error_builder)
 

Data Fields

char buf [buf_size]
 
char * write_pos = buf
 
char *const max_write_pos = buf + (buf_size - std::size_t{1})
 

Static Public Attributes

static constexpr std::size_t buf_size = 512
 

Detailed Description

Definition at line 678 of file parser.inl.

Constructor & Destructor Documentation

◆ error_builder()

TOML_NODISCARD_CTOR error_builder::error_builder ( std::string_view  scope)
inlinenoexcept

Definition at line 685 of file parser.inl.

Member Function Documentation

◆ append()

template<typename T >
void error_builder::append ( const T &  arg)
inlinenoexcept

Definition at line 692 of file parser.inl.

◆ finish()

TOML_RETURNS_BY_THROWING auto error_builder::finish ( const source_position &  pos,
const source_path_ptr &  source_path 
) const
inline

Definition at line 697 of file parser.inl.

◆ TOML_DELETE_DEFAULTS()

error_builder::TOML_DELETE_DEFAULTS ( error_builder  )

Field Documentation

◆ buf

char error_builder::buf[buf_size]

Definition at line 680 of file parser.inl.

◆ buf_size

constexpr std::size_t error_builder::buf_size = 512
staticconstexpr

Definition at line 679 of file parser.inl.

◆ max_write_pos

char* const error_builder::max_write_pos = buf + (buf_size - std::size_t{1})

Definition at line 682 of file parser.inl.

◆ write_pos

char* error_builder::write_pos = buf

Definition at line 681 of file parser.inl.


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