Go to the source code of this file.
|
| namespace | c4 |
| | (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message.
|
| namespace | c4::yml |
|
| template<class Fn> |
| void | c4::yml::escape_scalar_fn (Fn &&fn, csubstr scalar, bool keep_newlines=false) |
| | Iterate through a scalar and escape special characters in it.
|
| size_t | c4::yml::adjust_pos_with_escapes (csubstr scalar, size_t pos, bool keep_newlines=false) |
| | Adjust a position in a scalar, increasing it to account for any escaped characters.
|
| size_t | c4::yml::escape_scalar (substr buffer, csubstr scalar, bool keep_newlines=false) |
| | Escape a scalar to an existing buffer, using escape_scalar_fn.
|
| size_t | c4::yml::to_chars (substr buf, escaped_scalar e) |
| | formatting implementation to escape a scalar with escape_scalar()
|
| template<class SinkPfn> |
| size_t | c4::yml::dump (SinkPfn &&sinkfn, substr buf, escaped_scalar const &e) |
| | dumping implementation to escape a scalar with escape_scalar_fn()
|