mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Added folded and literal scalars.
This commit is contained in:
@@ -45,15 +45,20 @@ namespace YAML
|
||||
bool IsValue();
|
||||
bool IsPlainScalar();
|
||||
|
||||
void GetBlockIndentation(int& indent, std::string& breaks);
|
||||
|
||||
struct WhitespaceInfo {
|
||||
WhitespaceInfo();
|
||||
|
||||
void SetChompers(char ch);
|
||||
void AddBlank(char ch);
|
||||
void AddBreak(const std::string& line);
|
||||
std::string Join();
|
||||
std::string Join(bool lastline = false);
|
||||
|
||||
bool leadingBlanks;
|
||||
bool fold;
|
||||
std::string whitespace, leadingBreaks, trailingBreaks;
|
||||
int chomp, increment;
|
||||
};
|
||||
|
||||
struct SimpleKey {
|
||||
|
Reference in New Issue
Block a user