mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
This commit is contained in:
parent
2e27c5d9c3
commit
d076252dff
6 changed files with 74 additions and 104 deletions
6
token.h
6
token.h
|
@ -31,6 +31,12 @@ namespace YAML
|
|||
|
||||
struct KeyToken: public Token {};
|
||||
struct ValueToken: public Token {};
|
||||
struct AnchorToken: public Token {
|
||||
bool alias;
|
||||
std::string value;
|
||||
|
||||
virtual void Write(std::ostream& out) const { out << (alias ? '*' : '&') << value; }
|
||||
};
|
||||
|
||||
struct ScalarToken: public Token {
|
||||
std::string value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue