mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
Will be completely wiped, I think, in favor of a Scanner (to tokens), then Parser mechanism.
28 lines
416 B
C++
28 lines
416 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <ios>
|
|
|
|
namespace YAML
|
|
{
|
|
const std::string StrTag = "!!str";
|
|
const std::string SeqTag = "!!seq";
|
|
const std::string MapTag = "!!map";
|
|
|
|
class Content;
|
|
class Parser;
|
|
|
|
class Node
|
|
{
|
|
public:
|
|
Node();
|
|
~Node();
|
|
|
|
void Clear();
|
|
void Read(Parser *pParser, const std::string& token);
|
|
|
|
private:
|
|
std::string m_tag;
|
|
Content *m_pContent;
|
|
};
|
|
}
|