cpp-hocon 0.3.0
Loading...
Searching...
No Matches
config_node_include.hpp
1#pragma once
2
3#include "abstract_config_node.hpp"
4
5namespace hocon {
6
7 enum class config_include_kind { URL, FILE, CLASSPATH, HEURISTIC };
8
11 public:
12 config_node_include(shared_node_list children,
13 config_include_kind kind);
14
15 token_list get_tokens() const override;
16
17 shared_node_list const& children() const;
18 config_include_kind kind() const;
19 std::string name() const;
20
21 private:
22 shared_node_list _children;
23 config_include_kind _kind;
24 };
25
26} // namespace hocon
Represents an include statement of the form "include include_kind(include_path)".
Factory for creating config_document instances.
Definition: config.hpp:18