|
Webserv
|
A generic node representing a block in the configuration file. More...
#include <ConfigNode.hpp>
Public Member Functions | |
| ConfigNode () | |
| ConfigNode (std::string const &conf_name) | |
Public Attributes | |
| std::string | name |
| ParsedDirectiveArgs | args |
| ParsedDirectiveMap | directives |
| ConfigNodeVec | children |
A generic node representing a block in the configuration file.
This class serves as the Intermediate Representation (IR) of the config file. Each ConfigNode can represent a block like 'server' or 'location', holding its own directives and any nested child blocks.
|
inline |
|
inlineexplicit |
| ParsedDirectiveArgs config::ConfigNode::args |
| ConfigNodeVec config::ConfigNode::children |
| ParsedDirectiveMap config::ConfigNode::directives |
| std::string config::ConfigNode::name |