mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Added folded and literal scalars.
This commit is contained in:
parent
01ef70a6f9
commit
43ea59a4ed
7 changed files with 153 additions and 23 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue