/usr/include/hocon/parser/config_node.hpp is in libcpp-hocon-dev 0.1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #pragma once
#include <string>
#include "../export.h"
namespace hocon {
/**
* A node in the syntax tree for a HOCON or JSON document.
*
* <p>
* Because this object is immutable, it is safe to use from multiple threads and
* there's no need for "defensive copies."
*
* <p>
* <em>Do not implement interface {@code ConfigNode}</em>; it should only be
* implemented by the config library. Arbitrary implementations will not work
* because the library internals assume a specific concrete implementation.
* Also, this interface is likely to grow new methods over time, so third-party
* implementations will break.
*/
class LIBCPP_HOCON_EXPORT config_node {
public:
/**
* The original text of the input which was used to form this particular
* node.
*
* @return the original text used to form this node as a String
*/
virtual std::string render() const = 0;
};
} // namespace hocon
|