mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Moved the scalar-related functions to their own file.
This commit is contained in:
6
token.h
6
token.h
@@ -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