rapidyaml  0.11.0
parse and emit YAML, and do it fast
c4::yml::escaped_scalar Struct Reference

formatting helper to escape a scalar with x More...

#include <escape_scalar.hpp>

Public Member Functions

 escaped_scalar (csubstr s, bool keep_newl=false)
 

Public Attributes

csubstr scalar
 
bool keep_newlines
 

Detailed Description

formatting helper to escape a scalar with x

Definition at line 185 of file escape_scalar.hpp.

Constructor & Destructor Documentation

◆ escaped_scalar()

c4::yml::escaped_scalar::escaped_scalar ( csubstr  s,
bool  keep_newl = false 
)
inline

Definition at line 187 of file escape_scalar.hpp.

Member Data Documentation

◆ scalar

csubstr c4::yml::escaped_scalar::scalar

Definition at line 188 of file escape_scalar.hpp.

◆ keep_newlines

bool c4::yml::escaped_scalar::keep_newlines

Definition at line 189 of file escape_scalar.hpp.


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