codex
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
x
y
z
Functions
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
w
x
z
Variables
_
a
b
c
f
g
l
m
n
r
s
t
v
y
Typedefs
Enumerations
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
h
i
j
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
Enumerator
b
c
e
k
m
n
p
q
r
s
w
Macros
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Concepts
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
7
static
constexpr
std::size_t
MAX
= 32;
8
9
enum class
node
{
10
identifier
,
number
,
string
,
11
table_begin
,
table_key
,
table_value
,
table_end
,
n
,
12
};
9
enum class
node
{
…
};
13
constexpr
std::array
node_names
= {
14
"identifier"
,
"number"
,
"string"
,
15
"table_begin"
,
"table_key"
,
"table_value"
,
"table_end"
,
16
};
13
constexpr
std::array
node_names
= {
…
};
17
static_assert
(
static_cast<
std::size_t
>
(node::n) ==
node_names
.size());
18
19
#endif
MAX
static constexpr std::size_t MAX
Definition
lua.hpp:7
node_names
constexpr std::array node_names
Definition
lua.hpp:13
node::table_value
@ table_value
node::table_key
@ table_key
node::n
@ n
node::table_end
@ table_end
node::number
@ number
node::string
@ string
node::table_begin
@ table_begin
node::identifier
@ identifier
node
Definition
list.h:6
tmp
q
lua
lua.hpp
Generated by
1.11.0