summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/TOML.h
blob: 9249152b9f3c395227711c3189988521996dff84 (plain)
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
/* ========================================

  Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.

======================================== */

#pragma once

#include <NeKit/Config.h>
#include <NeKit/KString.h>

namespace Kernel {
/// \brief TOML Object Handle
class TOMLObject final {
 public:
  explicit TOMLObject() = delete;
  ~TOMLObject()         = default;

  STATIC TOMLObject kNull;

 private:
  Bool    fUndefined{YES};  // is this instance undefined?
  KString fKey;
  KString fValue;
};
}  // namespace Kernel