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 |
DirectiveArgs | args |
DirectiveMap | 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 |
|
inline |
DirectiveArgs config::ConfigNode::args |
ConfigNodeVec config::ConfigNode::children |
DirectiveMap config::ConfigNode::directives |
std::string config::ConfigNode::name |