mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
refactor: add helper parser funcs
This commit is contained in:
@@ -16,6 +16,10 @@ namespace config
|
||||
TOMLMap *root; //root of TOML tree
|
||||
/* toml_node *current; //node currently being parsed */
|
||||
Tokenizer tokenizer;
|
||||
static std::vector<std::string> split_name(std::string name);
|
||||
static void put_to_subtable(TOMLMap *root,
|
||||
std::vector<std::string> full_name,
|
||||
toml_node *map_node);
|
||||
|
||||
public:
|
||||
TOMLParser(const std::string filename);
|
||||
|
||||
Reference in New Issue
Block a user