mirror of
https://github.com/loot/yaml-cpp.git
synced 2026-07-27 14:13:42 -07:00
Moved the scalar-related functions to their own file.
This commit is contained in:
@@ -44,6 +44,10 @@ namespace YAML
|
||||
};
|
||||
|
||||
struct PlainScalarToken: public ScalarToken {};
|
||||
struct QuotedScalarToken: public ScalarToken {};
|
||||
struct QuotedScalarToken: public ScalarToken {
|
||||
bool single;
|
||||
virtual void Write(std::ostream& out) const { out << (single ? '\'' : '\"') << value << (single ? '\'' : '\"'); }
|
||||
};
|
||||
|
||||
struct BlockScalarToken: public ScalarToken {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user