mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
feat: working subtables
This commit is contained in:
@@ -16,16 +16,18 @@ 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);
|
||||
toml_node *map_node, toml_node::e_type type);
|
||||
|
||||
public:
|
||||
TOMLParser(const std::string filename);
|
||||
TOMLMap *parse(void);
|
||||
|
||||
toml_node *parseMap(void);
|
||||
void processMap(void);
|
||||
|
||||
void parseMapArray(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user