mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add YAML parser
This commit is contained in:
parent
239181bb64
commit
2aea19febd
8 changed files with 406 additions and 25 deletions
|
|
@ -13,13 +13,14 @@ using namespace json;
|
|||
|
||||
namespace {
|
||||
class Parser : BasicParser<char> {
|
||||
dv::value parseList();
|
||||
dv::value parseObject();
|
||||
dv::value parseValue();
|
||||
public:
|
||||
public:
|
||||
Parser(std::string_view filename, std::string_view source);
|
||||
|
||||
dv::value parse();
|
||||
private:
|
||||
dv::value parseList();
|
||||
dv::value parseObject();
|
||||
dv::value parseValue();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue