codex
Loading...
Searching...
No Matches
lua.hpp
Go to the documentation of this file.
1#ifndef CODEX_LUA_LUA_H
2#define CODEX_LUA_LUA_H
3
4#include <array>
5#include <cstddef>
6
7static constexpr std::size_t MAX = 32;
8
13constexpr std::array node_names = {
14 "identifier", "number", "string",
15 "table_begin", "table_key", "table_value", "table_end",
16};
17static_assert(static_cast<std::size_t>(node::n) == node_names.size());
18
19#endif
static constexpr std::size_t MAX
Definition lua.hpp:7
constexpr std::array node_names
Definition lua.hpp:13
@ table_value
@ table_key
@ table_end
@ number
@ string
@ table_begin
@ identifier
Definition list.h:6