mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
The plain scalar scanner is almost done (and it scans a simple list correctly).
Also messed around with multiple character peeking on the input, and got something working.
This commit is contained in:
7
token.h
7
token.h
@@ -23,5 +23,10 @@ namespace YAML
|
||||
class KeyToken: public Token {};
|
||||
class ValueToken: public Token {};
|
||||
|
||||
class PlainScalarToken: public Token {};
|
||||
class PlainScalarToken: public Token {
|
||||
public:
|
||||
void SetValue(const std::string& value) { m_value = value; }
|
||||
protected:
|
||||
std::string m_value;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user